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 | 5639fc846dc6c531dabac3a050f2e561b6344187 (patch) | |
| tree | 81dee1b23cb82233b91ed844c835de97dc6bd66a | |
| parent | 91718bc5891709a761717ad36433b60098feafac (diff) | |
| download | php-git-5639fc846dc6c531dabac3a050f2e561b6344187.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)); |
