X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdb%2FDatabaseMssql.php;h=7208b7e52f74411e3f892d7785c689e7cb58156c;hb=2368d8347fa52e9d4e18616bc5eea157b695a8a8;hp=eb061d85fe490040a5293fdb223f26046bc515f6;hpb=eb53a231a7ec3b5c8f42c056ba041b23ae181b1d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/db/DatabaseMssql.php b/includes/db/DatabaseMssql.php index eb061d85fe..7208b7e52f 100644 --- a/includes/db/DatabaseMssql.php +++ b/includes/db/DatabaseMssql.php @@ -737,15 +737,15 @@ class DatabaseMssql extends DatabaseBase { * UPDATE wrapper. Takes a condition array and a SET array. * * @param string $table Name of the table to UPDATE. This will be passed through - * DatabaseBase::tableName(). + * Database::tableName(). * * @param array $values An array of values to SET. For each array element, * the key gives the field name, and the value gives the data * to set that field to. The data will be quoted by - * DatabaseBase::addQuotes(). + * Database::addQuotes(). * * @param array $conds An array of conditions (WHERE). See - * DatabaseBase::select() for the details of the format of + * Database::select() for the details of the format of * condition arrays. Use '*' to update all rows. * * @param string $fname The function name of the caller (from __METHOD__), @@ -771,7 +771,7 @@ class DatabaseMssql extends DatabaseBase { $this->mScrollableCursor = false; try { - $ret = $this->query( $sql ); + $this->query( $sql ); } catch ( Exception $e ) { $this->mScrollableCursor = true; throw $e; @@ -786,7 +786,7 @@ class DatabaseMssql extends DatabaseBase { * @param int $mode Constant * - LIST_COMMA: comma separated, no field names * - LIST_AND: ANDed WHERE clause (without the WHERE). See - * the documentation for $conds in DatabaseBase::select(). + * the documentation for $conds in Database::select(). * - LIST_OR: ORed WHERE clause (without the WHERE) * - LIST_SET: comma separated with field names, like a SET clause * - LIST_NAMES: comma separated field names @@ -1134,7 +1134,7 @@ class DatabaseMssql extends DatabaseBase { /** * MS SQL requires specifying the escape character used in a LIKE query * or using Square brackets to surround characters that are to be escaped - * http://msdn.microsoft.com/en-us/library/ms179859.aspx + * https://msdn.microsoft.com/en-us/library/ms179859.aspx * Here we take the Specify-Escape-Character approach since it's less * invasive, renders a query that is closer to other DB's and better at * handling square bracket escaping