summaryrefslogtreecommitdiff
path: root/ext/mysql/tests/mysql_insert_id.phpt
diff options
context:
space:
mode:
authorTjerk Anne Meesters <datibbaw@php.net>2011-09-12 14:35:45 +0000
committerTjerk Anne Meesters <datibbaw@php.net>2011-09-12 14:35:45 +0000
commit828c07c500cd202cbe344d4525dfe8e923a13916 (patch)
treefa372d57067391550552a05ca27f905ae894f48a /ext/mysql/tests/mysql_insert_id.phpt
parent078cbac1d2f03e83f0dab38562b98e02a615e4da (diff)
downloadphp-git-828c07c500cd202cbe344d4525dfe8e923a13916.tar.gz
Reverted changes in connect.inc based on Ulf's feedback
- Moved the ini_set() entries into a separate script 'setupdefault.inc' - Let mysql_affected_rows and mysql_insert_id test cases use the newly created script With the ini_set() statements inside connect.inc, some test cases would be forced to 'undo' them in order to test other scenarios. Tested on all three dev lines with and without passing db credentials. No changes detected.
Diffstat (limited to 'ext/mysql/tests/mysql_insert_id.phpt')
-rw-r--r--ext/mysql/tests/mysql_insert_id.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysql/tests/mysql_insert_id.phpt b/ext/mysql/tests/mysql_insert_id.phpt
index 51138ebdd4..460d9f3f4d 100644
--- a/ext/mysql/tests/mysql_insert_id.phpt
+++ b/ext/mysql/tests/mysql_insert_id.phpt
@@ -8,6 +8,7 @@ require_once('skipifconnectfailure.inc');
--FILE--
<?php
include "connect.inc";
+include 'setupdefault.inc';
$tmp = NULL;
$link = NULL;