From: Antoine Musso Date: Thu, 25 Oct 2012 10:39:32 +0000 (+0200) Subject: accessor for database delimiter X-Git-Tag: 1.31.0-rc.0~21869^2 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=74869fe26d75a11c47bb54d3f380988f7e11b7c6;p=lhc%2Fweb%2Fwiklou.git accessor for database delimiter The command delimiter is a protected propery which prevents us form getting it outside of Database scope. This patch add a public accessor getDelimiter() so we can access it. Change-Id: I676d7ed9765444366fdf3dddb07c535807dabf52 --- diff --git a/includes/db/Database.php b/includes/db/Database.php index c9d2fda111..db050f2df5 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -290,6 +290,13 @@ abstract class DatabaseBase implements DatabaseType { return $this->getServerVersion(); } + /** + * @return string: command delimiter used by this database engine + */ + public function getDelimiter() { + return $this->delimiter; + } + /** * Boolean, controls output of large amounts of debug information. * @param $debug bool|null