bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
ef597c4619eb021563f659b886c67762fce7a817 |
|
08-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-sql: Explicitly specify used *_vfuncs methods for drivers.
This allows adding more methods without modifying all the existing drivers. |
402f9bcf48cbccc17fdb5f3ea411a7967aed0fd0 |
|
17-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-sql: Add API support for asynchronously iterating over rows.
sql_query() can already do an async lookup, but the full result needs
to be available immediately. This can be inefficient for large results.
Add a new SQL_RESULT_NEXT_MORE return value and sql_result_more() for
asynchronously requesting more results.
This changes the API a bit, but isn't done by default by any drivers yet.
Also callers that can't handle this are hopefully checking for "ret < 0",
which allows them to handle such an async-more request as an error
instead.
sql_result_next_row() will be changed to return enum in a separate commit to
keep backwards compatibility in v2.2.x. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
dc5168232608d74ca56412044280ff0155ffe231 |
|
14-Dec-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
driver-mysql: Do not hex-encode again
Use correct syntax to provide data to
mysql in hex format, without recoding
it in hex format again. |
bb2b3656ef7635acc374f7fc19b25aeeb454ae95 |
|
17-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-sql: Added error_type to commit callback. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
575fa28d92361c068b2c08d393605e1de661d922 |
|
19-Apr-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-sql: ssl_verify_server_cert=1 default on mysql |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
6920cf9a4d7bb8fd1a5b5bd25fafc8dd0cb9817c |
|
31-Dec-2015 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
mysql: Don't require connect setting to have host-parameter if option_file is set.
The option_file could also specify the host. |
2d33429390199b9dfbbdaace1b48626cc3a7a42b |
|
20-Oct-2015 |
Timo Sirainen <tss@iki.fi> |
mysql: Added connect/read/write_timeout settings. Default to 30s read/write_timeout. |
e180615c1db31c8a6f6a586ae40b1cfc2d6ee725 |
|
20-Oct-2015 |
Timo Sirainen <tss@iki.fi> |
mysql: Fixed client_flags parameter |
9250f1bc4abcd8619b65321a8f75434065e6cb38 |
|
20-Oct-2015 |
Timo Sirainen <tss@iki.fi> |
mysql: Use the correct way of setting a connect timeout.
I'm not sure if this didn't exist earlier, or if I just somehow missed it. |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
b87761f9bbef949f31dae297e619ac3f5e9c2b2e |
|
02-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Implemented sql_escape_blob() |
c93aca832ee532010ead91b85fa9f614132e1be2 |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Removed all invocations of atoi(). |
009217abb57a24a4076092e8e4e165545747839e |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Changed type of internet port values to in_port_t everywhere.
Created special SET_IN_PORT setting type for internet port values.
Created net_str2port() for parsing internet port values.
Removed several atoi() invocations in the process. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
9abf4d9d5eeb74d70fc26deb024383cf87f276bc |
|
20-Dec-2013 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix.
Older libmysqlclient uses const char * as the arg. |
09d0ffb0ddfbebb4a04b377b9f879c05749de54f |
|
08-Dec-2013 |
Timo Sirainen <tss@iki.fi> |
mysql: Added ssl_verify_server_cert=no|yes parameter.
To make sure we don't break existing installations, default to "no". For
v2.3 it should default to "yes".
Patch by Gareth Palmer |
96d12aa688454b6a1b5b2d3c752f66087ff0c7a1 |
|
24-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
mysql/pgsql: Don't bother logging about having connected to the database.
There's probably no good reason to have them? Errors are of course still
logged. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
bd63b5b860658b01b1f46f26d406e1e4a9dc019a |
|
11-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Plugin ABI version checking improvements.
Previously the plugin version was checked against the version string
returned by the currently running Dovecot master process, not necessarily
the same as the binary. Also version_ignore=yes setting skipped the version
check entirely.
Now there's a new DOVECOT_ABI_VERSION macro that can (at least in theory) be
updated only when the ABI actually changes. The version is in format
"2.2.ABIv1(2.2.15)", where the (2.2.15) would be the actual Dovecot version
number that gets ignored when comparing the strings.
Also now the plugin version is compared to the actually running binary's
ABI, not the master's version, and it can't be ignored with a setting. |
d13a8e21656e1b7005e094f7b9c9e3611105c648 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid a NULL warning in mysql_init() when HAVE_ATTR_NULL capable compiler is used. |
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 |
|
23-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786 |
933de3f374e6971f50308cb7bea13a51a45287bf |
|
27-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
mysql: Log idle time also for CR_SERVER_LOST errors. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
3ec16f23d3c94c225e5b74d84c6a69064922cd9d |
|
20-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
mysql: If query fails with "MySQL server gone away", log also how long it idled. |
a343811459d1d2259e668f369646a20f02301c2c |
|
08-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-sql: If mysql/pgsql commit fails due to server disconnection, reconnect and retry. |
f635aa2fd6c47ec297cf68981203a8dc7f8a23c3 |
|
15-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-sql: If MySQL connect takes more than 1 sec, don't try to reconnect for that many secs. |
685a84a0ccb55cb9359dcd57d9eb3b6b836034a2 |
|
15-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-sql: If MySQL connect fails, update ioloop times so later timeouts get added properly. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
5fbf8719b9ef072295c16bc4492f9f0ece92117d |
|
02-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
mysql/pgsql: Log prefixes now contain also the hostname.
This is useful when there are multiple hosts in use. |
b3f46fa8a890527996fd0288cf964b7f3567cd22 |
|
30-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Implemented sql_result_get_field_value_binary() for MySQL. |
4371df92c07fb923aabca7e90d307eccac48b2d6 |
|
04-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Include Dovecot version number check when loading SQL plugins. |
b57cd9928909b51fa473c3eea81442e296006438 |
|
17-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
mysql: When using multiple hosts, it never connected to more than the first one. |
3db8062598ce08e9320c84f77c267b9c70cb0809 |
|
13-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
mysql: When sql_exec() fails, log an error. |
a5be5a0d074ed0f3e4106612a2792e143a43efc6 |
|
13-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
mysql: When query fails because connection gets lost, use MySQL failure message instead of generic one. |
4c9c55e15f35474f53f11659e796c63b1c34e884 |
|
28-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Don't try to reconnect on deinit or intentional disconnect. Fixes a timeout leak.
--HG--
branch : HEAD |
9222c96ab9f42b25d5d5260f9e7a42c694715b0a |
|
28-May-2010 |
Timo Sirainen <tss@iki.fi> |
mysql, sqlite: Update db state to disconnected on deinit.
--HG--
branch : HEAD |
f1ea65eb88b4f67e572c4640882bdf00fe3a2186 |
|
26-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Fixed getting number of affected rows with MySQL.
--HG--
branch : HEAD |
59811ccfeb7dccc51e3be50c299c2ed853a1e2f3 |
|
20-May-2010 |
Timo Sirainen <tss@iki.fi> |
mysql: Fixed assert-crashing on transaction commits.
--HG--
branch : HEAD |
a74e4a66db99a69cca71d7c5ac1feae46d92138f |
|
12-May-2010 |
Timo Sirainen <tss@iki.fi> |
mysql: Fixed crashing on invalid queries.
--HG--
branch : HEAD |
6b2738c39a868ff9291867138c55029fc40cf105 |
|
04-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Use generic sql connection pooling code for mysql/pgsql.
It's possible to give multiple host settings to do load balancing / HA.
If one host is down, another one is tried. All queries are automatically
retried in another host if they fail in first one.
Since PostgreSQL support async queries, Dovecot can create multiple
connections to the database as needed, so it can do lookups in parallel. The
number of connections can be changed with maxconns=n in connect_query, the
default is 5.
--HG--
branch : HEAD |
0db5b158a00c08955bdacc99b1e2cd1ec07f4311 |
|
03-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Make driver structs const.
--HG--
branch : HEAD |
4e9070b89501c0ce7ad6aaf4f5e49aba1ee56dec |
|
22-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
mysql: Fixed compiling with older libraries that didn't support CLIENT_MULTI_RESULTS.
--HG--
branch : HEAD |
e8fd206cf9dca263278efba21864606126fc29b8 |
|
13-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
mysql: Enable CLIENT_MULTI_RESULTS
Based on patch by Alain Williams
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
7bafda1813454621e03615e83d55bccfa7cc56bd |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MEMBER() macro. Require C99 style struct initializer.
--HG--
branch : HEAD |
bc27fcd011f86208feaf73da9778a66ac7d7d3ab |
|
12-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
Increased initial mysql driver memory pool size.
--HG--
branch : HEAD |
e20e638805c4bd54e039891a3e92760b1dfa189a |
|
08-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_foreach*() in some useful places.
--HG--
branch : HEAD |
bfdf0fd7b6186f64cbdcbf1cb2bf9c42a9007b77 |
|
07-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
lib-sql: Added sql_update_get_rows().
--HG--
branch : HEAD |
3656c91dcb8336814bebd4500e81c3dde25233e6 |
|
13-May-2009 |
Timo Sirainen <tss@iki.fi> |
SQL API change: SQL results can be now refed/unrefed.
--HG--
branch : HEAD |
892b3cbf0eba9ba455448adcf71864a409345c6d |
|
26-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
pgsql: Don't break when using multiple transactions.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
50718cd4318f10c77f82a22477a1625f96928992 |
|
04-May-2008 |
Timo Sirainen <tss@iki.fi> |
Added ATTR_UNUSED to function parameters that won't be implemented for v1.1.
--HG--
branch : HEAD |
19e8adccba16ff419f5675b1575358c2956dce83 |
|
11-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro and
replaced them with T_BEGIN/END calls. T_FRAME() made it difficult to debug
code with gdb.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
57ca8cc86193103127066c724815e7e7a24926db |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed default_file/group to option_file/group.
--HG--
branch : HEAD |
c87d1e148ae76cf20f3adc7fc84fd54219dc62d5 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Added default_file and default_group settings for MySQL.
Patch by Luca Longinotti
--HG--
branch : HEAD |
eddd9bf1a1369aea4a2715f6be1137da6d17d293 |
|
05-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced t_push/t_pop calls with T_FRAME*() macros.
--HG--
branch : HEAD |
3e28b527dd6048a40684afd29cff0ee008fc0014 |
|
22-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Let deinit() free all the memory itself after all.
--HG--
branch : HEAD |
0ae010139a1bb3b29fbf117c5da1a6a6c6b7b5a0 |
|
22-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Added module_contexts to struct sql_db.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
648d24583c1574441c4fa0331a90bd4d6e7996c5 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
pool_unref() now takes ** pointer.
--HG--
branch : HEAD |
a94936bafd127680184da114c6a177b37ff656e5 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Removed _ prefixes from function names.
--HG--
branch : HEAD |
43d32cbe60fdaef2699d99f1ca259053e9350411 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED.
--HG--
branch : HEAD |
1ac19c5c2b66a12f5598792aad15114ee3eb62e2 |
|
03-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Added sql_result_setup_fetch() which makes it easier to fetch rows into
structures. Added sql_result_get_field_value_binary(), which is currently
not implemented for MySQL.
--HG--
branch : HEAD |
91dca97b367c54a139c268b56a0c67f564bd9197 |
|
10-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Replaced ARRAY_CREATE() macro with [ipt]_array_init() macros. The macro
has no side effects so it might as well be lowercased.
--HG--
branch : HEAD |
26a8b7deb3a5b6f26f9c4d71538e1248f680e4be |
|
10-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Removed type parameter from ARRAY_CREATE since it's not needed anymore.
--HG--
branch : HEAD |
7d075009a641d88a45940238676883a8eaf1507b |
|
28-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Save queries within transaction in a linked list and send them separately,
instead of using one big string with ';' separator, which didn't work with
everyone..
--HG--
branch : HEAD |
13a8c553f293349248b161ff851743498916e26e |
|
01-Jul-2006 |
Timo Sirainen <tss@iki.fi> |
sql_escape_string() should return const char *, not char *.
--HG--
branch : HEAD |
8d80659e504ffb34bb0c6a633184fece35751b18 |
|
28-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Array API redesigned to work using unions. It now provides type safety
without having to enable DEBUG, as long as the compiler supports typeof().
Its API changed a bit. It now allows directly accessing the array contents,
although that's not necessarily recommended. Changed existing array usage to
be type safe in a bit more places. Removed array_t completely. Also did
s/modifyable/modifiable/.
--HG--
branch : HEAD |
c95fc202215d2451372599db7092b16459f360a3 |
|
17-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Escaping a string crashed if we weren't connected to mysql.
--HG--
branch : HEAD |
fedb73c7e918653877286ede0fe18029b3cce7d3 |
|
16-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Fixes to handling database updates.
--HG--
branch : HEAD |
24ce0c343cefe54af841871fa39dbc3464028b06 |
|
31-May-2006 |
Timo Sirainen <tss@iki.fi> |
Added sql_escape_string()
--HG--
branch : HEAD |
5ab2ee0b9b7ad3867fcfd2a31fda0790370fbbbd |
|
30-May-2006 |
Timo Sirainen <tss@iki.fi> |
Use array instead of buffer for storing connections.
--HG--
branch : HEAD |
200bedfb0a0472b74b2ec50c0a36bb167f39ea76 |
|
25-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
If connecting with UNIX socket, print the UNIX socket path instead of
(null).
--HG--
branch : HEAD |
eeea0a402bcd9533e9e359f2a2518e3216162151 |
|
27-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Fixed memory leaks
--HG--
branch : HEAD |
0371406d952fe51367c7be91703e5634b7d9d225 |
|
26-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added support for dynamically building SQL drivers.
--HG--
branch : HEAD |
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d |
|
14-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
deinit, unref, destroy, close, free, etc. functions now take a pointer to
their data pointer, and set it to NULL. This makes double-frees less likely
to cause security holes.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
0546f051db6f510aa84d8c748cb46e584d3fcdfb |
|
10-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
fix
--HG--
branch : HEAD |
dc9de21d4375faeedbe5b7e941502ac578650da9 |
|
10-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Added support for transactions and synchronous SQL queries.
--HG--
branch : HEAD |
a0b89f3b1df99b3a32f44623f13ad1893118825b |
|
09-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Added sql_connect() to do explicit connecting. sql_init() no longer does.
--HG--
branch : HEAD |
06b0c3be9905099038964b068216bbed155701de |
|
09-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Make MySQL connect abort in 10 seconds if it can't connect.
--HG--
branch : HEAD |
367c05967091a2cbfce59b7f274f55b1a0f9e8c9 |
|
16-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Raised initial pool sizes.
--HG--
branch : HEAD |
ccffb125d94adff0ad776de5a96e22f864d6fb0a |
|
27-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
Added sql_get_flags() function, currently returning only
SQL_DB_FLAG_BLOCKING.
--HG--
branch : HEAD |
32486c362c3669995c0866b183675caaafe6afbc |
|
07-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
removed debugging info
--HG--
branch : HEAD |
6bca3405636e3ec95724350c3a10d6fcb737782a |
|
07-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Mysql driver supports connecting to multiple servers by giving multiple
host= parameters in connect string. The queries are sent round robin, and if
the query fails because of lost connection for one server it's retried on
next one.
--HG--
branch : HEAD |
a2550844936da8b78d7565b905a4dc5ffb3eef0e |
|
07-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Check if mysql_fetch_row() returns error.
--HG--
branch : HEAD |
ef95f34bc41287eb9fd2cea42ddce648d02d5a39 |
|
01-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
memory leak fixes
--HG--
branch : HEAD |
6c2c5f20760b06bfb4a40b0ee2ef5ab016bc41f0 |
|
16-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Created generic asynchronous SQL API and implemented MySQL and PostgreSQL
drivers. MySQL is implemented synchronously because it's API doesn't provide
async way to do it.
Replaced pgsql and mysql userdb/passdb with generic sql userdb/passdb.
--HG--
branch : HEAD |