diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-08-11 02:17:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-08-11 02:17:39 +0000 |
commit | 3f83c075a4a52887dc7cc7478356c97bea958f71 (patch) | |
tree | bb8919ebb78c1d8412617791d7e958e620ac952c /includes/database/database.inc | |
parent | b45bda8d7b5194c8095ed3266146ce20fc5d560a (diff) | |
download | brdo-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.inc | 5 |
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 |