tony2001                Tue May 30 21:54:42 2006 UTC

  Added files:                 (Branch: PHP_5_2)
    /php-src/ext/oci8/tests     test.txt 

  Modified files:              
    /php-src/ext/oci8/tests     bind_long.phpt 
  Log:
  fix test
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/oci8/tests/bind_long.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/oci8/tests/bind_long.phpt
diff -u php-src/ext/oci8/tests/bind_long.phpt:1.1.2.1 
php-src/ext/oci8/tests/bind_long.phpt:1.1.2.1.2.1
--- php-src/ext/oci8/tests/bind_long.phpt:1.1.2.1       Wed Apr 12 19:21:35 2006
+++ php-src/ext/oci8/tests/bind_long.phpt       Tue May 30 21:54:42 2006
@@ -7,19 +7,19 @@
 
 require dirname(__FILE__)."/connect.inc";
 
-$stmt = oci_parse($c, "create table phptestlng( id number(10), fileimage 
long)");
+$stmt = oci_parse($c, "create table phptestlng( id number(10), filetxt long)");
 oci_execute($stmt);
 
-$stmt = oci_parse ($c, "insert into phptestlng (id, fileimage) values (:id, 
:fileimage)");
+$stmt = oci_parse ($c, "insert into phptestlng (id, filetxt) values (:id, 
:filetxt)");
 $i=1;
-$fileimage = file_get_contents( dirname(__FILE__)."/test.gif");
+$filetxt = file_get_contents( dirname(__FILE__)."/test.txt");
 
 oci_bind_by_name( $stmt, ":id", $i, -1);
-oci_bind_by_name( $stmt, ":fileimage", $fileimage, -1, SQLT_LNG);
+oci_bind_by_name( $stmt, ":filetxt", $filetxt, -1, SQLT_LNG);
 oci_execute($stmt, OCI_DEFAULT);
 oci_commit($c);
 
-$stmt = oci_parse($c, "SELECT fileimage FROM phptestlng");
+$stmt = oci_parse($c, "SELECT filetxt FROM phptestlng");
 oci_execute($stmt);
 
 $row = oci_fetch_row($stmt);
@@ -33,6 +33,6 @@
 
 ?>
 --EXPECT--
-string(32) "d04e7036e2f4221abc88fd14e960a45b"
-int(2523)
+string(32) "da852396d08c9ef9fbdf914db1d6d5bb"
+int(276)
 Done

http://cvs.php.net/viewcvs.cgi/php-src/ext/oci8/tests/test.txt?view=markup&rev=1.1
Index: php-src/ext/oci8/tests/test.txt
+++ php-src/ext/oci8/tests/test.txt
Feel so good, I feel so fine
Love that little lady always on my mind
She gives me loving every night and day
Never gonna leave her, never going away

Someone to love me
You know she makes me feel all right, yeah (all right)
Someone to need me
Love me every single night, yeah

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to