Skip to content

Commit 20a1826

Browse files
committed
Use a less-verbose way of displaying protocol in TdsConnection's toString()
1 parent dc51ee2 commit 20a1826

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ RDBMS support for the XP Framework: MySQL, Sybase, MSSQL, PostgreSQL, SQLite3, I
33

44
## ?.?.? / ????-??-??
55

6+
* Changed rdbms.tds.TdsConnection's `toString()` to use a less-verbose way
7+
of displaying which protocol is used.
8+
(@thekid)
9+
610
## 6.3.2 / 2015-06-24
711

812
* Overwrite default socket timeouts with -1 (no timeout). This way SQL

src/main/php/rdbms/tds/TdsConnection.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,6 @@ public function commit($name) {
218218
* @return string
219219
*/
220220
public function toString() {
221-
return $this->getClassName().'(->'.$this->dsn->toString().', '.$this->handle->toString().')';
221+
return $this->getClassName().'(->'.$this->dsn->toString().', '.$this->handle->getClassName().')';
222222
}
223223
}

0 commit comments

Comments
 (0)