diff options
author | Ulf Wendel <uw@php.net> | 2011-09-01 11:48:18 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2011-09-01 11:48:18 +0000 |
commit | 426b388b743b73840432693e20a541dd78bde22b (patch) | |
tree | 85072dbdaa12912117542d9665a6bde976499c59 | |
parent | 6142c9b4b138e0169b0c7e659aacd68b570aa1fb (diff) | |
download | php-git-426b388b743b73840432693e20a541dd78bde22b.tar.gz |
Simplify mysqlnd debug trace marginally for debugging
-rw-r--r-- | ext/mysqli/tests/mysqli_stmt_execute_stored_proc_next_result.phpt | 6 | ||||
-rw-r--r-- | ext/mysqli/tests/mysqli_stmt_execute_stored_proc_out.phpt | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/ext/mysqli/tests/mysqli_stmt_execute_stored_proc_next_result.phpt b/ext/mysqli/tests/mysqli_stmt_execute_stored_proc_next_result.phpt index 1f92ca1f88..1469f65801 100644 --- a/ext/mysqli/tests/mysqli_stmt_execute_stored_proc_next_result.phpt +++ b/ext/mysqli/tests/mysqli_stmt_execute_stored_proc_next_result.phpt @@ -15,7 +15,11 @@ if (mysqli_get_server_version($link) < 50503) { --FILE-- <?php require_once('connect.inc'); - require_once('table.inc'); + + if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { + printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", + $host, $user, $db, $port, $socket); + } if (!mysqli_query($link, 'DROP PROCEDURE IF EXISTS p')) printf("[003] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); diff --git a/ext/mysqli/tests/mysqli_stmt_execute_stored_proc_out.phpt b/ext/mysqli/tests/mysqli_stmt_execute_stored_proc_out.phpt index c6053bcae8..bd3592264c 100644 --- a/ext/mysqli/tests/mysqli_stmt_execute_stored_proc_out.phpt +++ b/ext/mysqli/tests/mysqli_stmt_execute_stored_proc_out.phpt @@ -20,7 +20,11 @@ if ($IS_MYSQLND) { --FILE-- <?php require_once('connect.inc'); - require_once('table.inc'); + + if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { + printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", + $host, $user, $db, $port, $socket); + } if (!mysqli_query($link, 'DROP PROCEDURE IF EXISTS p')) printf("[003] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); |