From f37d8ad76a7f8a4e2f5574a72d89493e10c697ca Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Sat, 7 May 2005 07:55:01 +0000 Subject: [PATCH] fix for 5_0. Statement constructor doesn't exist in 5_0 --- ext/mysqli/tests/064.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mysqli/tests/064.phpt b/ext/mysqli/tests/064.phpt index e6df1e4505..1d6358e532 100644 --- a/ext/mysqli/tests/064.phpt +++ b/ext/mysqli/tests/064.phpt @@ -8,7 +8,7 @@ NULL binding $mysql = new mysqli($host, $user, $passwd); - $stmt = new mysqli_stmt($mysql, "SELECT NULL FROM DUAL"); + $stmt = $mysql->prepare("SELECT NULL FROM DUAL"); $stmt->execute(); $stmt->bind_result($foo); $stmt->fetch(); -- 2.50.1