summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/046.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/046.phpt')
-rw-r--r--ext/mysqli/tests/046.phpt33
1 files changed, 0 insertions, 33 deletions
diff --git a/ext/mysqli/tests/046.phpt b/ext/mysqli/tests/046.phpt
deleted file mode 100644
index e88348bfa9..0000000000
--- a/ext/mysqli/tests/046.phpt
+++ /dev/null
@@ -1,33 +0,0 @@
---TEST--
-mysqli_stmt_affected_rows (delete)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
- include "connect.inc";
-
- /*** test mysqli_connect 127.0.0.1 ***/
- $link = mysqli_connect($host, $user, $passwd);
-
- mysqli_select_db($link, "test");
-
- mysqli_query($link, "DROP TABLE IF EXISTS test_affected");
- mysqli_query($link, "CREATE TABLE test_affected (foo int)");
-
- mysqli_query($link, "INSERT INTO test_affected VALUES (1),(2),(3),(4),(5)");
-
- $stmt = mysqli_prepare($link, "DELETE FROM test_affected WHERE foo=?");
- mysqli_bind_param($stmt, "i", $c1);
-
- $c1 = 2;
-
- mysqli_execute($stmt);
- $x = mysqli_stmt_affected_rows($stmt);
-
- mysqli_stmt_close($stmt);
- var_dump($x==1);
-
- mysqli_close($link);
-?>
---EXPECT--
-bool(true)