/**
* Change the current database
*
+ * This should not be called outside LoadBalancer for connections managed by a LoadBalancer
+ *
* @param string $db
* @return bool True unless an exception was thrown
* @throws DBConnectionError If databasesAreIndependent() is true and an error occurs
* @throws DBError
- * @deprecated Since 1.32
+ * @deprecated Since 1.32 Use selectDomain() instead
*/
public function selectDB( $db );
*
* This will throw an error for some database types if the database unspecified
*
+ * This should not be called outside LoadBalancer for connections managed by a LoadBalancer
+ *
* @param string|DatabaseDomain $domain
* @since 1.32
* @throws DBConnectionError
*/
public function addQuotes( $s );
+ /**
+ * Quotes an identifier, in order to make user controlled input safe
+ *
+ * Depending on the database this will either be `backticks` or "double quotes"
+ *
+ * @param string $s
+ * @return string
+ * @since 1.33
+ */
+ public function addIdentifierQuotes( $s );
+
/**
* LIKE statement wrapper, receives a variable-length argument list with
* parts of pattern to match containing either string literals that will be