[PHP-CVS] cvs: php-src(PHP_5_2) /ext/sybase_ct/tests test.inc
thekid Tue May 22 11:36:55 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/sybase_ct/teststest.inc Log: - Added constant TEMPDB, defaulting to tempdb # This constant is used by some of the tests and should point # to a database where the user has create proc|table permissions http://cvs.php.net/viewvc.cgi/php-src/ext/sybase_ct/tests/test.inc?r1=1.4.6.2r2=1.4.6.3diff_format=u Index: php-src/ext/sybase_ct/tests/test.inc diff -u php-src/ext/sybase_ct/tests/test.inc:1.4.6.2 php-src/ext/sybase_ct/tests/test.inc:1.4.6.3 --- php-src/ext/sybase_ct/tests/test.inc:1.4.6.2Sun Mar 11 12:56:44 2007 +++ php-src/ext/sybase_ct/tests/test.incTue May 22 11:36:55 2007 @@ -1,13 +1,14 @@ ?php /* This file is part of PHP test framework for ext/sybase_ct * - * $Id: test.inc,v 1.4.6.2 2007/03/11 12:56:44 tony2001 Exp $ + * $Id: test.inc,v 1.4.6.3 2007/05/22 11:36:55 thekid Exp $ */ // Change if needed define('HOST', ''); define('USER', ''); define('PASSWORD', ''); + define('TEMPDB', 'tempdb'); // {{{ bool sybase_msg_handler(int msgnumber, int severity, int state, int line, string text) // Handles server messages -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/sybase_ct/tests test.inc
Hello Timm, how about taking the configuration from environment if present. Something like PHP_TEST_SYBASE_CT_* environment variables. best regards marcus Tuesday, May 22, 2007, 1:36:55 PM, you wrote: thekid Tue May 22 11:36:55 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/sybase_ct/teststest.inc Log: - Added constant TEMPDB, defaulting to tempdb # This constant is used by some of the tests and should point # to a database where the user has create proc|table permissions http://cvs.php.net/viewvc.cgi/php-src/ext/sybase_ct/tests/test.inc?r1=1.4.6.2r2=1.4.6.3diff_format=u Index: php-src/ext/sybase_ct/tests/test.inc diff -u php-src/ext/sybase_ct/tests/test.inc:1.4.6.2 php-src/ext/sybase_ct/tests/test.inc:1.4.6.3 --- php-src/ext/sybase_ct/tests/test.inc:1.4.6.2Sun Mar 11 12:56:44 2007 +++ php-src/ext/sybase_ct/tests/test.incTue May 22 11:36:55 2007 @@ -1,13 +1,14 @@ ?php /* This file is part of PHP test framework for ext/sybase_ct * - * $Id: test.inc,v 1.4.6.2 2007/03/11 12:56:44 tony2001 Exp $ + * $Id: test.inc,v 1.4.6.3 2007/05/22 11:36:55 thekid Exp $ */ // Change if needed define('HOST', ''); define('USER', ''); define('PASSWORD', ''); + define('TEMPDB', 'tempdb'); // {{{ bool sybase_msg_handler(int msgnumber, int severity, int state, int line, string text) // Handles server messages Best regards, Marcus -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) /ext/sybase_ct/tests test.inc
tony2001Sun Mar 11 12:56:44 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/sybase_ct/teststest.inc Log: MFH http://cvs.php.net/viewvc.cgi/php-src/ext/sybase_ct/tests/test.inc?r1=1.4.6.1r2=1.4.6.2diff_format=u Index: php-src/ext/sybase_ct/tests/test.inc diff -u php-src/ext/sybase_ct/tests/test.inc:1.4.6.1 php-src/ext/sybase_ct/tests/test.inc:1.4.6.2 --- php-src/ext/sybase_ct/tests/test.inc:1.4.6.1Sun Mar 11 12:54:54 2007 +++ php-src/ext/sybase_ct/tests/test.incSun Mar 11 12:56:44 2007 @@ -1,7 +1,7 @@ ?php /* This file is part of PHP test framework for ext/sybase_ct * - * $Id: test.inc,v 1.4.6.1 2007/03/11 12:54:54 tony2001 Exp $ + * $Id: test.inc,v 1.4.6.2 2007/03/11 12:56:44 tony2001 Exp $ */ // Change if needed @@ -28,7 +28,7 @@ // {{{ public static bool static_handler(int msgnumber, int severity, int state, int line, string text) // Handles server messages -function static_handler($msgnumber, $severity, $state, $line, $text) { +static function static_handler($msgnumber, $severity, $state, $line, $text) { return sybase_msg_handler($msgnumber, $severity, $state, $line, $text); } // }}} -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php