svn: /php/php-src/ branches/PHP_5_3/ext/pdo_firebird/tests/bug_53280.phpt branches/PHP_5_4/ext/pdo_firebird/tests/bug_53280.phpt
trunk/ext/pdo_firebird/tests/bug_53280.phpt

From: Date: Wed, 28 Dec 2011 19:09:41 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/ext/pdo_firebird/tests/bug_53280.phpt branches/PHP_5_4/ext/pdo_firebird/tests/bug_53280.phpt
trunk/ext/pdo_firebird/tests/bug_53280.phpt
Groups: php.cvs 
Request: Send a blank email to [email protected] to get a copy of this message
mariuz                                   Wed, 28 Dec 2011 19:09:41 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=321486

Log:
fix tablename in testcase test->testz

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/pdo_firebird/tests/bug_53280.phpt
    U   php/php-src/branches/PHP_5_4/ext/pdo_firebird/tests/bug_53280.phpt
    U   php/php-src/trunk/ext/pdo_firebird/tests/bug_53280.phpt

Modified: php/php-src/branches/PHP_5_3/ext/pdo_firebird/tests/bug_53280.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/pdo_firebird/tests/bug_53280.phpt	2011-12-28 19:05:28 UTC (rev
321485)
+++ php/php-src/branches/PHP_5_3/ext/pdo_firebird/tests/bug_53280.phpt	2011-12-28 19:09:41 UTC (rev
321486)
@@ -11,11 +11,11 @@
 $value = '2';
 @$dbh->exec('DROP TABLE testz');
 $dbh->exec('CREATE TABLE testz(A VARCHAR(30), B VARCHAR(30), C VARCHAR(30))');
-$dbh->exec("INSERT INTO test VALUES ('A', 'B', 'C')");
+$dbh->exec("INSERT INTO testz VALUES ('A', 'B', 'C')");
 $dbh->commit();

-$stmt1 = "SELECT B FROM test WHERE A = ? AND B = ?";
-$stmt2 = "SELECT B, C FROM test WHERE A = ? AND B = ?";
+$stmt1 = "SELECT B FROM testz WHERE A = ? AND B = ?";
+$stmt2 = "SELECT B, C FROM testz WHERE A = ? AND B = ?";

 $stmth2 = $dbh->prepare($stmt2);
 $stmth2->execute(array('A', 'B'));

Modified: php/php-src/branches/PHP_5_4/ext/pdo_firebird/tests/bug_53280.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/pdo_firebird/tests/bug_53280.phpt	2011-12-28 19:05:28 UTC (rev
321485)
+++ php/php-src/branches/PHP_5_4/ext/pdo_firebird/tests/bug_53280.phpt	2011-12-28 19:09:41 UTC (rev
321486)
@@ -11,11 +11,11 @@
 $value = '2';
 @$dbh->exec('DROP TABLE testz');
 $dbh->exec('CREATE TABLE testz(A VARCHAR(30), B VARCHAR(30), C VARCHAR(30))');
-$dbh->exec("INSERT INTO test VALUES ('A', 'B', 'C')");
+$dbh->exec("INSERT INTO testz VALUES ('A', 'B', 'C')");
 $dbh->commit();

-$stmt1 = "SELECT B FROM test WHERE A = ? AND B = ?";
-$stmt2 = "SELECT B, C FROM test WHERE A = ? AND B = ?";
+$stmt1 = "SELECT B FROM testz WHERE A = ? AND B = ?";
+$stmt2 = "SELECT B, C FROM testz WHERE A = ? AND B = ?";

 $stmth2 = $dbh->prepare($stmt2);
 $stmth2->execute(array('A', 'B'));

Modified: php/php-src/trunk/ext/pdo_firebird/tests/bug_53280.phpt
===================================================================
--- php/php-src/trunk/ext/pdo_firebird/tests/bug_53280.phpt	2011-12-28 19:05:28 UTC (rev 321485)
+++ php/php-src/trunk/ext/pdo_firebird/tests/bug_53280.phpt	2011-12-28 19:09:41 UTC (rev 321486)
@@ -11,11 +11,11 @@
 $value = '2';
 @$dbh->exec('DROP TABLE testz');
 $dbh->exec('CREATE TABLE testz(A VARCHAR(30), B VARCHAR(30), C VARCHAR(30))');
-$dbh->exec("INSERT INTO test VALUES ('A', 'B', 'C')");
+$dbh->exec("INSERT INTO testz VALUES ('A', 'B', 'C')");
 $dbh->commit();

-$stmt1 = "SELECT B FROM test WHERE A = ? AND B = ?";
-$stmt2 = "SELECT B, C FROM test WHERE A = ? AND B = ?";
+$stmt1 = "SELECT B FROM testz WHERE A = ? AND B = ?";
+$stmt2 = "SELECT B, C FROM testz WHERE A = ? AND B = ?";

 $stmth2 = $dbh->prepare($stmt2);
 $stmth2->execute(array('A', 'B'));


Thread (1 message)

  • Popa Adrian Marius
« previous php.cvs (#67372) next »