summaryrefslogtreecommitdiff
path: root/includes/database/database.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-08-11 02:17:39 +0000
committerDries Buytaert <dries@buytaert.net>2010-08-11 02:17:39 +0000
commit3f83c075a4a52887dc7cc7478356c97bea958f71 (patch)
treebb8919ebb78c1d8412617791d7e958e620ac952c /includes/database/database.inc
parentb45bda8d7b5194c8095ed3266146ce20fc5d560a (diff)
downloadbrdo-3f83c075a4a52887dc7cc7478356c97bea958f71.tar.gz
brdo-3f83c075a4a52887dc7cc7478356c97bea958f71.tar.bz2
- Patch #878198 by pwolanin: add back a method to the DB driver interface that reports the server version.
Diffstat (limited to 'includes/database/database.inc')
-rw-r--r--includes/database/database.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc
index 9e913de90..1ca68eea8 100644
--- a/includes/database/database.inc
+++ b/includes/database/database.inc
@@ -1049,6 +1049,11 @@ abstract class DatabaseConnection extends PDO {
abstract public function driver();
/**
+ * Returns the version of the database server.
+ */
+ abstract public function version();
+
+ /**
* Determines if this driver supports transactions.
*
* @return