[PHP-CVS] cvs: php-src /ext/oci8/tests bind_long.phpt test.txt

2009-03-24 Thread Christopher Jones
sixdWed Mar 25 01:57:23 2009 UTC

  Modified files:  
/php-src/ext/oci8/tests test.txt bind_long.phpt 
  Log:
  use random text
  
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/test.txt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/oci8/tests/test.txt
diff -u php-src/ext/oci8/tests/test.txt:1.1 php-src/ext/oci8/tests/test.txt:1.2
--- php-src/ext/oci8/tests/test.txt:1.1 Tue May 30 21:54:17 2006
+++ php-src/ext/oci8/tests/test.txt Wed Mar 25 01:57:22 2009
@@ -1,9 +1,9 @@
-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
+Ipsum lorem, IPSUM Lorem Ipsum lorem Ipsum lorem
+Ipsum lorem IPSum Lorem Ipsum lorem ipsum Lorem
+Ipsum Lorem ipsum Lorem - ipsum Lorem ipsum lorem
+Ipsum lorem IPSUM Lorem Ipsum lorem, Ipsum lorem.
 
-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
+Ipsum LOREM, ipsum Lorem Ipsum lorem Ipsum lorem
+Ipsum lorem Ipsum Lorem Ipsum lorem ipsum Lorem
+Ipsum Lorem ipsum Lorem  ipsum Lorem; ipsum lorem
+Ipsum lorem ipsum LOREM Ipsum lorem Ipsum lorem!
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/bind_long.phpt?r1=1.6r2=1.7diff_format=u
Index: php-src/ext/oci8/tests/bind_long.phpt
diff -u php-src/ext/oci8/tests/bind_long.phpt:1.6 
php-src/ext/oci8/tests/bind_long.phpt:1.7
--- php-src/ext/oci8/tests/bind_long.phpt:1.6   Tue May 27 14:30:37 2008
+++ php-src/ext/oci8/tests/bind_long.phpt   Wed Mar 25 01:57:22 2009
@@ -33,6 +33,6 @@
 
 ?
 --EXPECT--
-unicode(32) da852396d08c9ef9fbdf914db1d6d5bb
-int(276)
+unicode(32) 5c7c34abf7ea51936785062dbfcaeddc
+int(394)
 Done



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



[PHP-CVS] cvs: php-src /ext/oci8/tests bind_long.phpt test.txt

2006-05-30 Thread Antony Dovgal
tony2001Tue May 30 21:54:17 2006 UTC

  Added files: 
/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.2r2=1.3diff_format=u
Index: php-src/ext/oci8/tests/bind_long.phpt
diff -u php-src/ext/oci8/tests/bind_long.phpt:1.2 
php-src/ext/oci8/tests/bind_long.phpt:1.3
--- php-src/ext/oci8/tests/bind_long.phpt:1.2   Wed Apr 12 19:22:12 2006
+++ php-src/ext/oci8/tests/bind_long.phpt   Tue May 30 21:54:17 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=markuprev=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