36 public function update( $table, array $newValues, array $oldValues, $fname ) {
43 $updated = (bool)$this->dbw->affectedRows();
44 if ( $this->file && $updated ) {
45 $table = $this->dbw->tableName( $table );
49 ' SET ' . $this->dbw->makeList( $oldValues, IDatabase::LIST_SET ) .
50 ' WHERE ' . $this->dbw->makeList( $newValues, IDatabase::LIST_AND ) .
";\n"