Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Skip connection exit message when we triggered reconnection | Paweł Chmielowski | 2022-07-28 | 1 | -0/+2 |
| | |||||
* | Handle errors reported from begin/commit inside transaction | Paweł Chmielowski | 2022-07-28 | 1 | -35/+45 |
| | |||||
* | Make connection close errors bubble up from inside sql transaction | Paweł Chmielowski | 2022-07-28 | 1 | -22/+50 |
| | |||||
* | Catch mysql connection being close earlier | Paweł Chmielowski | 2022-07-19 | 1 | -1/+4 |
| | |||||
* | Make first sql reconnect wait shorter time | Paweł Chmielowski | 2022-07-19 | 1 | -4/+9 |
| | |||||
* | React to sql driver process exit earlier | Paweł Chmielowski | 2022-07-15 | 1 | -8/+13 |
| | | | | | | | | | If there are queued request when connection closes we may try to process those requests (by trying to send them to already terminated db process, and waiting until we hit timeout) before we see that driver is not longer alive. This change adds check for driver exit before we process next queued sql request, and immediately switch to connection state if we have one. | ||||
* | Fix errors and warnings for "rebar3 edoc" | Badlop | 2022-05-17 | 1 | -2/+3 |
| | |||||
* | Update copyright year to 2022 | Badlop | 2022-02-11 | 1 | -1/+1 |
| | |||||
* | When exporting for SQLite, use its specific escape options (#2576) | Badlop | 2021-05-14 | 1 | -0/+6 |
| | |||||
* | Revert "Close pgsql ports on ejabberd_sql process termination (#2541)" | Badlop | 2021-03-18 | 1 | -1/+0 |
| | | | | This reverts commit 404ae56e073253de08604c4137239b7e8248058d. | ||||
* | Close pgsql ports on ejabberd_sql process termination (#2541) | Badlop | 2021-03-09 | 1 | -0/+1 |
| | |||||
* | Update newest copyright year to 2021 (#3464) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | also convert embedded errors to binary | Frank Diebolt | 2020-12-03 | 1 | -1/+1 |
| | |||||
* | Added sql_odbc_driver option for mssql db | Jerome Sautret | 2020-10-08 | 1 | -10/+11 |
| | | | | Add an option to choose the ODBC driver when sql_type is set to mssql | ||||
* | use dsn-less config for mssql (#3131) | ChaosKid42 | 2020-04-23 | 1 | -44/+8 |
| | |||||
* | Also add "escape '\'" to prepared statements in pgsqllike_escape | Paweł Chmielowski | 2020-03-18 | 1 | -1/+1 |
| | |||||
* | Add escape '\' to like expression in pgsql to fix problem cockroachdb | Paweł Chmielowski | 2020-03-18 | 1 | -1/+1 |
| | | | | | | Cockroachdb doesn't properly handle escaping of _ in like expressions, having "like ... escape '\'" makes it work, by disabling optimization that causes this broken behaviour | ||||
* | Change conversion of boolean values for cockroachdb | Paweł Chmielowski | 2020-03-18 | 1 | -2/+2 |
| | |||||
* | Fix list parameters in sql queries on pgsql | Paweł Chmielowski | 2020-02-27 | 1 | -6/+8 |
| | |||||
* | Support ssl connection on mysql | Paweł Chmielowski | 2020-02-26 | 1 | -2/+10 |
| | |||||
* | Use SQL ESCAPE statement only with MSSQL and SQLite, improve compatibility ↵ | Alexey Shchepin | 2020-02-04 | 1 | -8/+24 |
| | | | | with CockroachDB (#3074) | ||||
* | Update copyright to 2020 (#3149) | Badlop | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | Improve compatibility with CockroachDB (#3074) | Alexey Shchepin | 2019-12-16 | 1 | -0/+5 |
| | |||||
* | Improve compatibility with CockroachDB (#3074) | Alexey Shchepin | 2019-12-11 | 1 | -0/+12 |
| | |||||
* | Merge branch 'pg_prepared_statements' of ↵ | Alexey Shchepin | 2019-11-26 | 1 | -7/+34 |
|\ | | | | | | | | | | | | | | | https://github.com/sabudaye/ejabberd into sabudaye-pg_prepared_statements Conflicts: ejabberd.yml.example src/ejabberd_sql.erl | ||||
| * | Added option to disable prepared statements (postgresql only) | s.budaev | 2016-10-05 | 1 | -1/+10 |
| | | |||||
* | | Correctly handle unicode in log messages | Evgeny Khramtsov | 2019-09-23 | 1 | -30/+30 |
| | | |||||
* | | Fix BEGIN/COMMIT/ROLLBACK syntax for MSSQL (#2978) | Alexey Shchepin | 2019-09-09 | 1 | -5/+21 |
| | | |||||
* | | Spawn SQL connections on demand only | Evgeny Khramtsov | 2019-08-12 | 1 | -6/+11 |
| | | |||||
* | | Improve SQL timeouts handling | Evgeny Khramtsov | 2019-07-31 | 1 | -78/+79 |
| | | | | | | | | Also improve some formatting | ||||
* | | Fix SQL connections leakage | Evgeny Khramtsov | 2019-07-30 | 1 | -31/+34 |
| | | |||||
* | | Improve SQL pool logic | Evgeny Khramtsov | 2019-07-24 | 1 | -36/+37 |
| | | | | | | | | Avoid using ETS table for SQL workers: rely on processes names instead | ||||
* | | Improve formatting of exceptions | Evgeny Khramtsov | 2019-07-07 | 1 | -6/+6 |
| | | |||||
* | | Make return type of sql_transaction() consistent | Evgeny Khramtsov | 2019-07-04 | 1 | -2/+6 |
| | | |||||
* | | Use correct stacktrace in logging macros | Evgeny Khramtsov | 2019-06-26 | 1 | -3/+6 |
| | | | | | | | | | | | | | | By calling erlang:get_stacktrace() inside a lager function we obtain actually a stacktrace of the lager function, not the one we got during exception. This is not a problem for newest Erlang versions though. | ||||
* | | Make logging messages more consistent | Evgeny Khramtsov | 2019-06-24 | 1 | -13/+13 |
| | | |||||
* | | Use new configuration validator | Evgeny Khramtsov | 2019-06-14 | 1 | -88/+47 |
| | | |||||
* | | Report better errors on SQL terms decode failure | Evgeny Khramtsov | 2019-05-19 | 1 | -3/+17 |
| | | |||||
* | | Fix handling of list arguments on pgsql | Paweł Chmielowski | 2019-04-23 | 1 | -10/+18 |
| | | |||||
* | | Fix transaction aborting and restarting in ejabberd_sql | Alexey Shchepin | 2019-03-07 | 1 | -0/+2 |
| | | |||||
* | | Handle info log level when using MySQL (#2541) | Badlop | 2019-03-04 | 1 | -0/+1 |
| | | |||||
* | | Replace code using p1_time_compat wrapper with native functions | Paweł Chmielowski | 2019-02-27 | 1 | -3/+3 |
| | | | | | | | | | | | | | | Since we now require R19, we shouldn't need that anymore. There are still couple places where p1_time_compat:unique_timestamp() is used as there is no direct equivalent. | ||||
* | | Do not overwrite odbc config file (#2295) | Christophe Romain | 2019-01-31 | 1 | -3/+9 |
| | | |||||
* | | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | | |||||
* | | Add code for handling deprecations of get_stacktrace() | Paweł Chmielowski | 2018-12-13 | 1 | -24/+25 |
| | | |||||
* | | Add list types to sql_pt | Paweł Chmielowski | 2018-12-05 | 1 | -6/+11 |
| | | |||||
* | | Relax result matching to fix pgsql keepalive (#2632) | Christophe Romain | 2018-11-21 | 1 | -1/+1 |
| | | |||||
* | | Move certificates processing code to pkix application | Evgeny Khramtsov | 2018-09-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | ==== WARNING: MUST BE ADDED TO RELEASE NOTES ===== The commit introduces the following incompatibility: - Option 'ca_path' is deprecated and has no effect anymore: option 'ca_file' should be used instead if needed. ================================================== | ||||
* | | Add odbc connection robustness (#2428) | Christophe Romain | 2018-09-25 | 1 | -24/+59 |
| | | |||||
* | | Switch more log message to warning level | Evgeny Khramtsov | 2018-09-19 | 1 | -5/+4 |
| | | | | | | | | | | The commit is supposed to improve logging at loglevel 3, which is the recommended level for high loaded ejabberd servers |