Merge "accessor for database delimiter"
authorDemon <chadh@wikimedia.org>
Thu, 25 Oct 2012 13:32:24 +0000 (13:32 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 25 Oct 2012 13:32:24 +0000 (13:32 +0000)
includes/db/Database.php

index c9d2fda..db050f2 100644 (file)
@@ -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