summaryrefslogtreecommitdiff
path: root/src/lib-sql/driver-sqlpool.c
AgeCommit message (Expand)AuthorLines
2021-09-29driver-pglsqlpool: Implement sql_get_flags() reliablyTimo Sirainen-11/+25
2021-09-29driver-sqlpool: Implement sql_wait()Timo Sirainen-0/+10
2021-05-25lib-sql: sqlpool: Implement get_flags() as a wrapper to the real dbTimo Sirainen-0/+20
2021-05-07global: Use array_foreach_elem() where possibleTimo Sirainen-3/+3
2021-05-04global: Use T_END_PASS_STR() where possibleTimo Sirainen-8/+3
2019-09-20lib-sql: Initialize sqlpool db properlyTimo Sirainen-1/+1
2019-09-16lib-sql: Add refcounting to sql_dbTimo Sirainen-1/+1
2019-01-15global: Rename array_first and array_last to array_front and backAki Tuomi-1/+1
2019-01-15global: Use array_push_back instead of array_appendAki Tuomi-2/+2
2019-01-10global: Really change array_idx(A, 0) to array_first(A)Aki Tuomi-1/+1
2018-09-13lib-sql: Fix wrong sql_query_finished_event() success parameter useMartti Rannanjärvi-1/+1
2018-09-05lib-sql: Do not create event for old driversAki Tuomi-3/+0
2018-09-05driver-sqlpool: Only strdup error on errorAki Tuomi-2/+3
2018-09-04driver-sqlpool: Add eventsAki Tuomi-10/+48
2018-09-04driver-sqlpool: Add driver_sqlpool_init_fullAki Tuomi-9/+23
2018-09-04driver-sqlpool: Use init_full when availableAki Tuomi-1/+13
2018-01-01Updated copyright notices to include the year 2018.Stephan Bosch-1/+1
2017-09-20global: start relying on pool_unref(NULL) being a no-opJosef 'Jeff' Sipek-2/+1
2017-09-20global: start relying on timeout_remove(NULL) being a no-opJosef 'Jeff' Sipek-4/+2
2017-09-08lib-sql: Explicitly specify used *_vfuncs methods for drivers.Timo Sirainen-14/+13
2017-01-01Updated copyright notices to include the year 2017.Stephan Bosch-1/+1
2016-07-17lib-sql: Added error_type to commit callback.Timo Sirainen-3/+3
2016-01-13global: freshen copyrightTimo Sirainen-1/+1
2015-09-24lib-sql: sqlpool needs to change transaction queries' transaction pointerTimo Sirainen-0/+3
2015-09-02lib-sql: Implemented sql_escape_blob()Timo Sirainen-1/+22
2015-01-05global: freshen copyrightPhil Carmody-1/+1
2014-02-04Updated copyright notices to include year 2014.Timo Sirainen-1/+1
2013-02-24Replaced all -1U and (unsigned int)-1 with UINT_MAX.Timo Sirainen-6/+6
2013-02-02Oops :) Update copyrights to 2013 without breaking all .c files.Timo Sirainen-1/+1
2013-02-02Updated copyright notices to include year 2013.Timo Sirainen-1/+1
2012-08-19Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) nameTimo Sirainen-2/+2
2012-06-25Added array_append_zero() to write a zero-filled record to an array.Timo Sirainen-1/+1
2012-06-24Marked functions parameters that are allowed to be NULL. Some APIs were also ...Timo Sirainen-3/+4
2012-03-02lib-sql: If failed query is retried, log it as as warning instead of as error.Timo Sirainen-2/+2
2012-02-12Updated copyright notices to include year 2012.Timo Sirainen-1/+1
2012-01-28sql: Fixed retrying query when multiple hosts were specified and all of them ...Timo Sirainen-4/+5
2011-09-16lib-sql: Fixed load balancing between multiple SQL hosts to actually work.Timo Sirainen-3/+3
2011-09-15lib-sql: Don't try to connect to connections that are going to be reconnected...Timo Sirainen-2/+3
2011-09-15lib-sql: Connect to all configured hosts immediately.Timo Sirainen-2/+15
2011-09-15lib-sql: When escaping a string, use the first ready connection (if any).Timo Sirainen-4/+11
2011-03-04Updated copyright notices to include year 2011.Timo Sirainen-1/+1
2011-03-04lib-sql: When adding more connections to sql pool, connect to them immediately.Timo Sirainen-0/+2
2010-11-17lib-sql: Connect earlier to fallback host when using multiple hosts and prima...Timo Sirainen-41/+80
2010-09-07sql pool: Delay creating a transaction until commit is called.Timo Sirainen-53/+36
2010-08-23lib-sql: sql_disconnect() now aborts all pending requests.Timo Sirainen-7/+13
2010-05-28lib-sql: Don't try to reconnect on deinit or intentional disconnect. Fixes a ...Timo Sirainen-1/+2
2010-05-09lib-sql: Code cleanup to make clang's static analyzer happy.Timo Sirainen-6/+7
2010-05-05lib-sql: Compiler warning fix.Timo Sirainen-0/+2
2010-05-04lib-sql: Use generic sql connection pooling code for mysql/pgsql.Timo Sirainen-0/+756