From eb0e09f5dc387e8a8642e373b84793daf10dcb2f Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Mon, 19 Oct 2009 20:07:25 +0000 Subject: [PATCH] Using require[_once] instead of include. Adding logic to connect.inc to detect multiple inclusions of connect.inc which leads to a Fatal error because of my_mysqli_connect() function redefinition. Some tests did include connect.inc twice -> run-tests - even the one from trunk - did not detect Fatal error in SKIPIF -> false-positive test result... --- ext/mysqli/tests/001.phpt | 2 +- ext/mysqli/tests/002.phpt | 4 +- ext/mysqli/tests/003.phpt | 4 +- ext/mysqli/tests/004.phpt | 2 +- ext/mysqli/tests/005.phpt | 4 +- ext/mysqli/tests/006.phpt | 4 +- ext/mysqli/tests/007.phpt | 4 +- ext/mysqli/tests/008.phpt | 4 +- ext/mysqli/tests/009.phpt | 4 +- ext/mysqli/tests/010.phpt | 4 +- ext/mysqli/tests/011.phpt | 4 +- ext/mysqli/tests/012.phpt | 4 +- ext/mysqli/tests/013.phpt | 4 +- ext/mysqli/tests/014.phpt | 4 +- ext/mysqli/tests/015.phpt | 4 +- ext/mysqli/tests/016.phpt | 2 +- ext/mysqli/tests/017.phpt | 2 +- ext/mysqli/tests/018.phpt | 2 +- ext/mysqli/tests/019.phpt | 4 +- ext/mysqli/tests/020.phpt | 4 +- ext/mysqli/tests/021.phpt | 4 +- ext/mysqli/tests/022.phpt | 4 +- ext/mysqli/tests/023.phpt | 4 +- ext/mysqli/tests/024.phpt | 4 +- ext/mysqli/tests/025.phpt | 4 +- ext/mysqli/tests/026.phpt | 4 +- ext/mysqli/tests/027.phpt | 2 +- ext/mysqli/tests/028.phpt | 2 +- ext/mysqli/tests/029.phpt | 4 +- ext/mysqli/tests/030.phpt | 2 +- ext/mysqli/tests/031.phpt | 2 +- ext/mysqli/tests/032.phpt | 4 +- ext/mysqli/tests/033.phpt | 2 +- ext/mysqli/tests/034.phpt | 2 +- ext/mysqli/tests/035.phpt | 2 +- ext/mysqli/tests/036.phpt | 4 +- ext/mysqli/tests/037.phpt | 4 +- ext/mysqli/tests/038.phpt | 5 +- ext/mysqli/tests/039.phpt | 3 +- ext/mysqli/tests/040.phpt | 4 +- ext/mysqli/tests/041.phpt | 4 +- ext/mysqli/tests/042.phpt | 4 +- ext/mysqli/tests/043.phpt | 4 +- ext/mysqli/tests/044.phpt | 2 +- ext/mysqli/tests/045.phpt | 4 +- ext/mysqli/tests/046.phpt | 4 +- ext/mysqli/tests/047.phpt | 4 +- ext/mysqli/tests/048.phpt | 4 +- ext/mysqli/tests/049.phpt | 2 +- ext/mysqli/tests/050.phpt | 2 +- ext/mysqli/tests/051.phpt | 2 +- ext/mysqli/tests/052.phpt | 2 +- ext/mysqli/tests/053.phpt | 2 +- ext/mysqli/tests/054.phpt | 2 +- ext/mysqli/tests/055.phpt | 2 +- ext/mysqli/tests/056.phpt | 2 +- ext/mysqli/tests/057.phpt | 4 +- ext/mysqli/tests/058.phpt | 4 +- ext/mysqli/tests/059.phpt | 4 +- ext/mysqli/tests/060.phpt | 4 +- ext/mysqli/tests/061.phpt | 4 +- ext/mysqli/tests/062.phpt | 2 +- ext/mysqli/tests/063.phpt | 2 +- ext/mysqli/tests/064.phpt | 2 +- ext/mysqli/tests/065.phpt | 2 +- ext/mysqli/tests/066.phpt | 5 +- ext/mysqli/tests/067.phpt | 6 +- ext/mysqli/tests/069.phpt | 2 +- ext/mysqli/tests/070.phpt | 2 +- ext/mysqli/tests/071.phpt | 2 +- ext/mysqli/tests/072.phpt | 2 +- ext/mysqli/tests/073.phpt | 2 +- ext/mysqli/tests/074.phpt | 2 +- ext/mysqli/tests/bug28817.phpt | 8 +- ext/mysqli/tests/bug29311.phpt | 2 +- ext/mysqli/tests/bug30967.phpt | 8 +- ext/mysqli/tests/bug31668.phpt | 2 +- ext/mysqli/tests/bug32405.phpt | 4 +- ext/mysqli/tests/bug33263.phpt | 3 +- ext/mysqli/tests/bug34810.phpt | 4 +- ext/mysqli/tests/bug35103.phpt | 4 +- ext/mysqli/tests/bug35517.phpt | 4 +- ext/mysqli/tests/bug35759.phpt | 4 +- ext/mysqli/tests/bug36420.phpt | 2 +- ext/mysqli/tests/bug36745.phpt | 4 +- ext/mysqli/tests/bug36802.phpt | 2 +- ext/mysqli/tests/bug36949.phpt | 4 +- ext/mysqli/tests/bug37090.phpt | 2 +- ext/mysqli/tests/bug38710.phpt | 2 +- ext/mysqli/tests/bug39457.phpt | 6 +- ext/mysqli/tests/bug42548.phpt | 2 +- ext/mysqli/tests/bug44897.phpt | 3 +- ext/mysqli/tests/bug46109.phpt | 8 +- ext/mysqli/tests/bug48909.phpt | 2 +- ext/mysqli/tests/connect.inc | 79 ++++++++++--------- ext/mysqli/tests/mysqli_affected_rows.phpt | 2 +- ext/mysqli/tests/mysqli_affected_rows_oo.phpt | 2 +- ext/mysqli/tests/mysqli_autocommit.phpt | 2 +- ext/mysqli/tests/mysqli_autocommit_oo.phpt | 2 +- ext/mysqli/tests/mysqli_change_user.phpt | 2 +- ext/mysqli/tests/mysqli_character_set.phpt | 2 +- .../tests/mysqli_character_set_name.phpt | 2 +- .../tests/mysqli_character_set_name_oo.phpt | 2 +- ext/mysqli/tests/mysqli_close.phpt | 2 +- ext/mysqli/tests/mysqli_close_oo.phpt | 2 +- ext/mysqli/tests/mysqli_commit.phpt | 2 +- ext/mysqli/tests/mysqli_commit_oo.phpt | 2 +- ext/mysqli/tests/mysqli_connect.phpt | 2 +- ext/mysqli/tests/mysqli_connect_errno.phpt | 2 +- ext/mysqli/tests/mysqli_connect_error.phpt | 2 +- ext/mysqli/tests/mysqli_connect_oo.phpt | 2 +- .../tests/mysqli_connect_oo_defaults.phpt | 2 +- .../tests/mysqli_connect_oo_warnings.phpt | 2 +- ext/mysqli/tests/mysqli_connect_twice.phpt | 2 +- ext/mysqli/tests/mysqli_data_seek.phpt | 2 +- ext/mysqli/tests/mysqli_data_seek_oo.phpt | 2 +- .../mysqli_disable_reads_from_master.phpt | 2 +- ext/mysqli/tests/mysqli_driver.phpt | 3 +- ext/mysqli/tests/mysqli_dump_debug_info.phpt | 2 +- .../tests/mysqli_dump_debug_info_oo.phpt | 2 +- ext/mysqli/tests/mysqli_embedded_connect.phpt | 6 +- .../mysqli_enable_reads_from_master.phpt | 2 +- ext/mysqli/tests/mysqli_errno.phpt | 2 +- ext/mysqli/tests/mysqli_errno_oo.phpt | 2 +- ext/mysqli/tests/mysqli_error.phpt | 2 +- ext/mysqli/tests/mysqli_error_oo.phpt | 6 +- ext/mysqli/tests/mysqli_error_unicode.phpt | 2 +- ext/mysqli/tests/mysqli_fetch_all.phpt | 2 +- ext/mysqli/tests/mysqli_fetch_all_oo.phpt | 2 +- ext/mysqli/tests/mysqli_fetch_array.phpt | 2 +- .../tests/mysqli_fetch_array_assoc.phpt | 1 - .../tests/mysqli_fetch_array_large.phpt | 2 +- .../tests/mysqli_fetch_array_many_rows.phpt | 1 - ext/mysqli/tests/mysqli_fetch_array_oo.phpt | 2 +- ext/mysqli/tests/mysqli_fetch_assoc.phpt | 2 +- .../tests/mysqli_fetch_assoc_no_alias.phpt | 1 - .../mysqli_fetch_assoc_no_alias_utf8.phpt | 3 +- ext/mysqli/tests/mysqli_fetch_assoc_oo.phpt | 2 +- ext/mysqli/tests/mysqli_fetch_field.phpt | 2 +- .../tests/mysqli_fetch_field_direct.phpt | 2 +- .../tests/mysqli_fetch_field_direct_oo.phpt | 2 +- .../tests/mysqli_fetch_field_flags.phpt | 2 +- ext/mysqli/tests/mysqli_fetch_field_oo.phpt | 2 +- .../tests/mysqli_fetch_field_types.phpt | 1 - ext/mysqli/tests/mysqli_fetch_fields.phpt | 2 +- ext/mysqli/tests/mysqli_fetch_lengths.phpt | 2 +- ext/mysqli/tests/mysqli_fetch_lengths_oo.phpt | 2 +- .../mysqli_fetch_object_no_constructor.phpt | 2 +- .../tests/mysqli_fetch_object_no_object.phpt | 1 - ext/mysqli/tests/mysqli_fetch_object_oo.phpt | 2 +- ext/mysqli/tests/mysqli_fetch_row.phpt | 2 +- ext/mysqli/tests/mysqli_field_count.phpt | 2 +- ext/mysqli/tests/mysqli_field_seek.phpt | 2 +- ext/mysqli/tests/mysqli_field_tell.phpt | 2 +- ext/mysqli/tests/mysqli_fork.phpt | 3 +- ext/mysqli/tests/mysqli_free_result.phpt | 2 +- ext/mysqli/tests/mysqli_get_cache_stats.phpt | 2 +- .../mysqli_get_cache_stats_free_buffered.phpt | 1 - ext/mysqli/tests/mysqli_get_charset.phpt | 2 +- ext/mysqli/tests/mysqli_get_client_info.phpt | 6 +- ext/mysqli/tests/mysqli_get_client_stats.phpt | 4 +- .../tests/mysqli_get_connection_stats.phpt | 5 +- ext/mysqli/tests/mysqli_get_host_info.phpt | 2 +- ext/mysqli/tests/mysqli_get_proto_info.phpt | 6 +- ext/mysqli/tests/mysqli_get_server_info.phpt | 2 +- .../tests/mysqli_get_server_version.phpt | 4 +- ext/mysqli/tests/mysqli_get_warnings.phpt | 4 +- ext/mysqli/tests/mysqli_info.phpt | 2 +- ext/mysqli/tests/mysqli_insert_id.phpt | 2 +- .../tests/mysqli_insert_id_variation.phpt | 4 +- ext/mysqli/tests/mysqli_kill.phpt | 2 +- ext/mysqli/tests/mysqli_more_results.phpt | 2 +- ext/mysqli/tests/mysqli_multi_query.phpt | 2 +- ext/mysqli/tests/mysqli_next_result.phpt | 2 +- ext/mysqli/tests/mysqli_num_fields.phpt | 2 +- ext/mysqli/tests/mysqli_num_rows.phpt | 2 +- ext/mysqli/tests/mysqli_options.phpt | 2 +- .../tests/mysqli_options_init_command.phpt | 2 +- .../tests/mysqli_pconn_conn_multiple.phpt | 2 +- ext/mysqli/tests/mysqli_pconn_disabled.phpt | 2 +- ext/mysqli/tests/mysqli_pconn_max_links.phpt | 2 +- ext/mysqli/tests/mysqli_pconn_reuse.phpt | 2 +- ext/mysqli/tests/mysqli_pconn_twice.phpt | 6 +- ext/mysqli/tests/mysqli_pconnect.phpt | 2 +- ext/mysqli/tests/mysqli_ping.phpt | 2 +- .../mysqli_poll_mixing_insert_select.phpt | 2 +- ext/mysqli/tests/mysqli_prepare.phpt | 4 +- .../tests/mysqli_prepare_no_object.phpt | 1 - ext/mysqli/tests/mysqli_query.phpt | 4 +- .../mysqli_query_local_infile_large.phpt | 4 +- .../tests/mysqli_query_stored_proc.phpt | 2 +- .../tests/mysqli_real_escape_string.phpt | 6 +- .../mysqli_real_escape_string_unicode.phpt | 6 +- ext/mysqli/tests/mysqli_real_query.phpt | 4 +- ext/mysqli/tests/mysqli_report.phpt | 2 +- ext/mysqli/tests/mysqli_report_wo_ps.phpt | 2 +- .../tests/mysqli_result_unclonable.phpt | 2 +- ext/mysqli/tests/mysqli_rollback.phpt | 2 +- ext/mysqli/tests/mysqli_select_db.phpt | 2 +- ext/mysqli/tests/mysqli_send_query.phpt | 2 +- ext/mysqli/tests/mysqli_set_charset.phpt | 2 +- ...i_set_local_infile_handler_close_link.phpt | 3 +- ...li_set_local_infile_handler_closefile.phpt | 3 +- ...li_set_local_infile_handler_kill_link.phpt | 3 +- ext/mysqli/tests/mysqli_set_opt.phpt | 2 +- ...t_opt_numeric_and_datetime_as_unicode.phpt | 3 +- ext/mysqli/tests/mysqli_sqlstate.phpt | 2 +- ext/mysqli/tests/mysqli_ssl_set.phpt | 2 +- ext/mysqli/tests/mysqli_stat.phpt | 6 +- .../tests/mysqli_stmt_affected_rows.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_attr_get.phpt | 2 +- .../tests/mysqli_stmt_attr_get_prefetch.phpt | 1 - ext/mysqli/tests/mysqli_stmt_attr_set.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_bind_param.phpt | 2 +- ...stmt_bind_param_check_param_no_change.phpt | 1 - .../mysqli_stmt_bind_param_references.phpt | 1 - .../mysqli_stmt_bind_param_type_juggling.phpt | 1 - ext/mysqli/tests/mysqli_stmt_bind_result.phpt | 2 +- .../tests/mysqli_stmt_bind_result_bit.phpt | 2 +- .../mysqli_stmt_bind_result_references.phpt | 1 - ext/mysqli/tests/mysqli_stmt_close.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_data_seek.phpt | 2 +- .../tests/mysqli_stmt_datatype_change.phpt | 4 +- ext/mysqli/tests/mysqli_stmt_errno.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_error.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_execute.phpt | 2 +- .../mysqli_stmt_execute_stored_proc.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_fetch.phpt | 2 +- ...ysqli_stmt_fetch_fields_win32_unicode.phpt | 4 +- ext/mysqli/tests/mysqli_stmt_field_count.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_free_result.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_get_result.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_get_result2.phpt | 2 +- .../mysqli_stmt_get_result_field_count.phpt | 1 - .../mysqli_stmt_get_result_metadata.phpt | 1 - ..._stmt_get_result_metadata_fetch_field.phpt | 1 - .../mysqli_stmt_get_result_non_select.phpt | 1 - .../tests/mysqli_stmt_get_result_seek.phpt | 1 - ext/mysqli/tests/mysqli_stmt_init.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_insert_id.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_num_rows.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_param_count.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_prepare.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_reset.phpt | 2 +- .../tests/mysqli_stmt_result_metadata.phpt | 2 +- .../mysqli_stmt_result_metadata_sqltests.phpt | 1 - .../tests/mysqli_stmt_send_long_data.phpt | 2 +- ...t_send_long_data_packet_size_libmysql.phpt | 1 - ...mt_send_long_data_packet_size_mysqlnd.phpt | 1 - ext/mysqli/tests/mysqli_stmt_sqlstate.phpt | 2 +- .../tests/mysqli_stmt_store_result.phpt | 2 +- ext/mysqli/tests/mysqli_stmt_unclonable.phpt | 2 +- ext/mysqli/tests/mysqli_store_result.phpt | 2 +- ext/mysqli/tests/mysqli_thread_id.phpt | 2 +- ext/mysqli/tests/mysqli_unclonable.phpt | 2 +- ext/mysqli/tests/mysqli_use_result.phpt | 2 +- ext/mysqli/tests/mysqli_warning_count.phpt | 2 +- .../tests/mysqli_warning_unclonable.phpt | 2 +- 258 files changed, 366 insertions(+), 394 deletions(-) diff --git a/ext/mysqli/tests/001.phpt b/ext/mysqli/tests/001.phpt index 4e19d810909c1..ed09b2eecb055 100644 --- a/ext/mysqli/tests/001.phpt +++ b/ext/mysqli/tests/001.phpt @@ -8,7 +8,7 @@ require_once('skipifconnectfailure.inc'); ?> --FILE-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --FILE-- --CLEAN-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --FILE-- --CLEAN-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- ') == 1) { ?> --FILE-- --FILE-- --CLEAN-- --CLEAN-- --FILE-- multi_query('SELECT 1;SELECT 2'); diff --git a/ext/mysqli/tests/070.phpt b/ext/mysqli/tests/070.phpt index eee5125133f81..b71d9b2e49ada 100644 --- a/ext/mysqli/tests/070.phpt +++ b/ext/mysqli/tests/070.phpt @@ -7,7 +7,7 @@ require_once('skipifconnectfailure.inc'); ?> --FILE-- ping()); diff --git a/ext/mysqli/tests/071.phpt b/ext/mysqli/tests/071.phpt index 8888fb1706414..4788a60913858 100644 --- a/ext/mysqli/tests/071.phpt +++ b/ext/mysqli/tests/071.phpt @@ -8,7 +8,7 @@ require_once('skipifconnectfailure.inc'); ?> --FILE-- --FILE-- --FILE-- embedded); var_dump($driver->client_version); diff --git a/ext/mysqli/tests/074.phpt b/ext/mysqli/tests/074.phpt index 883655bc5e579..7d9d01b3be404 100644 --- a/ext/mysqli/tests/074.phpt +++ b/ext/mysqli/tests/074.phpt @@ -8,7 +8,7 @@ require_once('skipifconnectfailure.inc'); --FILE-- --FILE-- --FILE-- --FILE-- multi_query('SELECT 1;SELECT 2'); diff --git a/ext/mysqli/tests/bug32405.phpt b/ext/mysqli/tests/bug32405.phpt index 24bcdb4d0f446..0b3cad50ffd50 100644 --- a/ext/mysqli/tests/bug32405.phpt +++ b/ext/mysqli/tests/bug32405.phpt @@ -7,7 +7,7 @@ require_once('skipifconnectfailure.inc'); ?> --FILE-- --CLEAN-- --FILE-- --CLEAN-- query("DROP TABLE IF EXISTS test_bint"); @@ -53,7 +53,7 @@ EOSQL; ?> --CLEAN-- --FILE-- --CLEAN-- --CLEAN-- query('select 1'); diff --git a/ext/mysqli/tests/bug36745.phpt b/ext/mysqli/tests/bug36745.phpt index 511eaf38fdeab..5e203e14eb40e 100644 --- a/ext/mysqli/tests/bug36745.phpt +++ b/ext/mysqli/tests/bug36745.phpt @@ -7,7 +7,7 @@ require_once('skipifconnectfailure.inc'); ?> --FILE-- --CLEAN-- --FILE-- --CLEAN-- ') == 1)) { ?> --FILE-- --FILE-- stmt_init(); diff --git a/ext/mysqli/tests/bug39457.phpt b/ext/mysqli/tests/bug39457.phpt index b834ff1b70fc6..ec9239bb15af3 100644 --- a/ext/mysqli/tests/bug39457.phpt +++ b/ext/mysqli/tests/bug39457.phpt @@ -1,13 +1,13 @@ --TEST-- Bug #39457 (Multiple invoked OO connections never close) --SKIPIF-- - --FILE-- connect($host, $user, $passwd, $db, $port, $socket); diff --git a/ext/mysqli/tests/bug42548.phpt b/ext/mysqli/tests/bug42548.phpt index c9950be3a1696..ef0c831e4da00 100644 --- a/ext/mysqli/tests/bug42548.phpt +++ b/ext/mysqli/tests/bug42548.phpt @@ -52,7 +52,7 @@ print "done!"; ?> --CLEAN-- --FILE-- query('DROP PROCEDURE IF EXISTS p')) @@ -74,7 +73,7 @@ if (mysqli_get_server_version($link) <= 50000) { ?> --CLEAN-- --FILE-- init(); $mysqli->init(); - echo "done"; + echo "done"; ?> --EXPECTF-- done diff --git a/ext/mysqli/tests/bug48909.phpt b/ext/mysqli/tests/bug48909.phpt index 55c85a6860ec1..81df544190fbd 100644 --- a/ext/mysqli/tests/bug48909.phpt +++ b/ext/mysqli/tests/bug48909.phpt @@ -7,7 +7,7 @@ require_once('skipifconnectfailure.inc'); ?> --FILE-- real_connect($host, $user, $passwd, $db, $port, $socket, $flags); - } else { - parent::__construct($host, $user, $passwd, $db, $port, $socket); + $flags = ($enable_env_flags) ? $connect_flags : false; + + if ($flags !== false) { + parent::init(); + $this->real_connect($host, $user, $passwd, $db, $port, $socket, $flags); + } else { + parent::__construct($host, $user, $passwd, $db, $port, $socket); + } } } + } else { + printf("skip Eeeek/BUG/FIXME - connect.inc included twice! skipif bug?\n"); } ?> \ No newline at end of file diff --git a/ext/mysqli/tests/mysqli_affected_rows.phpt b/ext/mysqli/tests/mysqli_affected_rows.phpt index 6cb5451c0b1e5..958b83cb3cb06 100644 --- a/ext/mysqli/tests/mysqli_affected_rows.phpt +++ b/ext/mysqli/tests/mysqli_affected_rows.phpt @@ -8,7 +8,7 @@ mysqli_affected_rows() ?> --FILE-- affected_rows ?> --FILE-- affected_rows)) diff --git a/ext/mysqli/tests/mysqli_autocommit.phpt b/ext/mysqli/tests/mysqli_autocommit.phpt index cdd5559767e9e..f1f63e7f33305 100644 --- a/ext/mysqli/tests/mysqli_autocommit.phpt +++ b/ext/mysqli/tests/mysqli_autocommit.phpt @@ -26,7 +26,7 @@ mysqli_autocommit() ?> --FILE-- autocommit() ?> --FILE-- --FILE-- ') == 1) { ?> --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- error --SKIPIF-- - --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --CLEAN-- real_connect($host, $user, $passwd, $db, $port, $socket))) printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp); diff --git a/ext/mysqli/tests/mysqli_pconnect.phpt b/ext/mysqli/tests/mysqli_pconnect.phpt index 57b44ebaf2fff..fbb1092e6e62f 100644 --- a/ext/mysqli/tests/mysqli_pconnect.phpt +++ b/ext/mysqli/tests/mysqli_pconnect.phpt @@ -11,7 +11,7 @@ if (!stristr(mysqli_get_client_info(), 'mysqlnd')) ?> --FILE-- --FILE-- --CLEAN-- --FILE-- --CLEAN-- --FILE-- --FILE-- --CLEAN-- --CLEAN-- --FILE-- --FILE-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- ') == 1) ? "unicode":"string"; diff --git a/ext/mysqli/tests/mysqli_stmt_bind_result_bit.phpt b/ext/mysqli/tests/mysqli_stmt_bind_result_bit.phpt index 1eef7674781cc..acf0d0be2d2e3 100644 --- a/ext/mysqli/tests/mysqli_stmt_bind_result_bit.phpt +++ b/ext/mysqli/tests/mysqli_stmt_bind_result_bit.phpt @@ -8,7 +8,7 @@ require_once('skipifconnectfailure.inc'); ?> --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --CLEAN-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE--