summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/database_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'create-connection-pool' into 'master' Yorick Peterse2017-02-141-0/+48
|\ | | | | | | | | Introduce Gitlab::Database.with_connection_pool See merge request !9192
| * Have some simple way to create connection poolLin Jen-Shin2017-02-141-0/+48
| |
* | Don't connect in Gitlab::Database.adapter_namefix-ar-connection-leaksYorick Peterse2017-02-131-0/+6
|/ | | | | | We don't need to connect when requesting the name of the database adapter. This in turn should prevent us from requesting/leaking connections just by asking whether we're using PostgreSQL or MySQL.
* Improve performance of finding last deployed environmentDouwe Maan2017-02-061-0/+16
|
* Improve Issuable.order_labels_priorityRémy Coutable2016-06-061-0/+16
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix undefined method `postgresql?` during migrationrs-gitlab-database-moduleRobert Speicher2016-02-151-0/+32
|
* Display database type and version in Administration dashboardrs-database-infoRobert Speicher2016-02-021-0/+20
| | | | Closes #12900
* Tag lib specsDouwe Maan2015-12-091-1/+1
|
* Added methods for detecting MySQL/PostgreSQLYorick Peterse2015-10-071-0/+17
These two methods remove the need for manually going into ActiveRecord::Base.connection all over the place.