Skip to content

Commit 5fbf3e8

Browse files
committed
Make exec function compatible with PDO
1 parent b70cac2 commit 5fbf3e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/pdo_mysql/tests/pdo_mysql_subclass.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ MySQLPDOTest::skip();
1919
return call_user_func_array(array($this, 'parent::__construct'), func_get_args());
2020
}
2121

22-
public function exec() {
22+
public function exec($statement) {
2323
$this->protocol();
24-
return call_user_func_array(array($this, 'parent::exec'), func_get_args());
24+
return parent::exec($statement);
2525
}
2626

2727
public function query() {

0 commit comments

Comments
 (0)