ID:               26407
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tvoigt at informatik dot tu-cottbus dot de
 Status:           Open
 Bug Type:         Sybase-ct (ctlib) related
 Operating System: Linux (i686) & Solaris 8
 PHP Version:      4.3.4
 New Comment:

4.3.3 doesn't work as expected either. I took your output and diffed it
against the expected one:

[EMAIL PROTECTED]:~ > diff -u sybase_test_expected.out
sybase_test_4_3_3.out
--- sybase_test_expected.out    Sun Feb  8 23:21:15 2004
+++ sybase_test_4_3_3.out       Sun Feb  8 23:20:12 2004
@@ -1,3 +1,4 @@
+Warning: sybase_connect(): Sybase: Unable to update character set. in
/usr/src/php-4.3.3/                 tests/ext/sybase_ct/test.inc on
line 55
 bool(true)
 >>> Query: 
     begin transaction
@@ -7,14 +8,8 @@
     commit
     -- anything afterwards will fail, too
   
-<<< Return: resource
-array(1) {
-  [0]=>
-  array(1) {
-    ["computed"]=>
-    string(3) "foo"
-  }
-}
+<<< Return: boolean
+bool(true)
 >>> Query: 
     begin transaction
       -- no result returned...
@@ -31,7 +26,7 @@
     select "bar"   
   
 
-Notice: sybase_query(): Sybase:  Unexpected results, cancelling
current in %s/test.inc on                  line %d
+Notice: sybase_query(): Sybase:  Unexpected results, cancelling
current in /usr/src/php-4                
.3.3/tests/ext/sybase_ct/test.inc on line 66
 <<< Return: resource
 array(1) {
   [0]=>



Previous Comments:
------------------------------------------------------------------------

[2004-02-06 03:27:28] detoma dot alessandro at sea-aeroportimilano dot
it

Unfortunatly I don't know to help you, because I have a problem similar
to your(failure to compile PHP4.3.4 with sybase 12.0).
I notice however that you have compiled PHP4.3.4 with gdlib on
solaris8; Could you say me which version you have used? 
Best regards,
Alex

------------------------------------------------------------------------

[2004-02-01 14:50:07] tvoigt at informatik dot tu-cottbus dot de

Okay, done. It's my first bug report/'make test'-thing, but I'm just
beginning to get it ;-)
Thanks for your test case!

Here's the content of bug26407.log (php4-STABLE-200401261030): 
http://www.informatik.tu-cottbus.de/~tvoigt/php/bug26407.log

...and to prove that everything was fine with php-4.3.3:
http://www.informatik.tu-cottbus.de/~tvoigt/php/bug26407.log.php-4.3.3
(Okay, there is a warning about the character set in sybase_connect,
making this a "failed" test, too. But the actual test results are as
expected. Maybe you want to adapt the test case?)

If you are interested in the other sybase test's results, find the
complete output here:
http://www.informatik.tu-cottbus.de/~tvoigt/php/php_test_results_20040201.txt
(#22403 testing failed for my dbo not allowing to create stored
procedures in tempdb, sorry.)

Thanks a lot,
Thomas

------------------------------------------------------------------------

[2004-02-01 10:01:28] [EMAIL PROTECTED]

Hrm, the test results contain no ext/sybase_ct related errors.

I guess this is because the tests/ subdirectory is not in the PHP4_3
branch - have a look at
http://cvs.php.net/cvs.php/php-src/ext/sybase_ct/tests?login=2,
especially bug26407.phpt (you'll also need the two .inc-files and will
probably have to change the server name and credentials in test.inc)

------------------------------------------------------------------------

[2004-01-26 07:20:30] tvoigt at informatik dot tu-cottbus dot de

Yes, we have Sybase's ctlib in production. We decided against FreeTDS
here (for it crashed *way* too often).

Here is the test output created by PHP/4.3.5RC2-dev (2004-01-26):
http://www.informatik.tu-cottbus.de/~tvoigt/php/php_test_results_20040126.txt

Thanks for your reply,
Thomas

------------------------------------------------------------------------

[2004-01-23 21:52:12] [EMAIL PROTECTED]

Can neither reproduce with PHP/4.3.4 nor with current CVS. I'm using
FreeTSD v.0.62 under FreeBSD/4.8-STABLE. Maybe this occurs with the
Sybase-libraries only?

Could you provide the ouput of 

$ make test TESTS=ext/sybase_ct/

(execute in top source directory of a PHP checkout / snap)

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26407

-- 
Edit this bug report at http://bugs.php.net/?id=26407&edit=1

Reply via email to