diff options
author | Timm Friebe <thekid@php.net> | 2005-02-06 12:59:03 +0000 |
---|---|---|
committer | Timm Friebe <thekid@php.net> | 2005-02-06 12:59:03 +0000 |
commit | 57fa0019793929aa1147d41ecb70b284c545103d (patch) | |
tree | 21e5afe01b02a92a79c2e82e038cc0eec6e7d3d6 /ext/sybase_ct | |
parent | 2a595d116ef6a65ca06048477997b1585c417a5d (diff) | |
download | php-git-57fa0019793929aa1147d41ecb70b284c545103d.tar.gz |
- Prefixed all temporary names with "phpt_"
Diffstat (limited to 'ext/sybase_ct')
-rw-r--r-- | ext/sybase_ct/tests/bug22403.phpt | 2 | ||||
-rw-r--r-- | ext/sybase_ct/tests/bug26407.phpt | 4 | ||||
-rw-r--r-- | ext/sybase_ct/tests/bug27843.phpt | 4 | ||||
-rw-r--r-- | ext/sybase_ct/tests/bug28354.phpt | 2 | ||||
-rw-r--r-- | ext/sybase_ct/tests/test_appname.phpt | 6 |
5 files changed, 9 insertions, 9 deletions
diff --git a/ext/sybase_ct/tests/bug22403.phpt b/ext/sybase_ct/tests/bug22403.phpt index c9a2186f39..2088595d33 100644 --- a/ext/sybase_ct/tests/bug22403.phpt +++ b/ext/sybase_ct/tests/bug22403.phpt @@ -16,7 +16,7 @@ Sybase-CT bug #22403 (crash when executing a stored procedure without parameters error_reporting(error_reporting() & !E_NOTICE); // Suppress notices // Check if stored procedure already exists - $sp_name= basename(__FILE__, '.php'); + $sp_name= 'phpt_bug22403'; var_dump(sybase_select_db('tempdb', $db)); if (!sybase_select_single($db, 'select object_id("'.$sp_name.'")')) { echo "Stored procedure {$sp_name} not found, creating\n"; diff --git a/ext/sybase_ct/tests/bug26407.phpt b/ext/sybase_ct/tests/bug26407.phpt index b599c73dc5..c8a2d8f28f 100644 --- a/ext/sybase_ct/tests/bug26407.phpt +++ b/ext/sybase_ct/tests/bug26407.phpt @@ -14,7 +14,7 @@ Sybase-CT bug #26407 (Result set fetching broken around transactions) $db= sybase_connect_ex(); // Create temporary table - $table= basename(__FILE__, '.php'); + $table= 'phpt_bug26407'; var_dump(sybase_query('create table #'.$table.' ( the_big_answer int )', $db)); // I @@ -67,7 +67,7 @@ array(1) { >>> Query: begin transaction -- no result returned... - update #bug26407 set the_big_answer=42 + update #phpt_bug26407 set the_big_answer=42 commit <<< Return: boolean diff --git a/ext/sybase_ct/tests/bug27843.phpt b/ext/sybase_ct/tests/bug27843.phpt index d3be4ea0c5..2de4dbb2ff 100644 --- a/ext/sybase_ct/tests/bug27843.phpt +++ b/ext/sybase_ct/tests/bug27843.phpt @@ -14,7 +14,7 @@ Sybase-CT bug #27843 (notices when query is a stored procedure) $db= sybase_connect_ex(); // Check if stored procedure already exists - $sp_name= basename(__FILE__, '.php'); + $sp_name= 'phpt_bug27843'; var_dump(sybase_select_db('tempdb', $db)); if (!sybase_select_single($db, 'select object_id("'.$sp_name.'")')) { echo "Stored procedure {$sp_name} not found, creating\n"; @@ -42,7 +42,7 @@ Sybase-CT bug #27843 (notices when query is a stored procedure) bool(true) Stored procedure %s bool(true) ->>> Query: exec bug27843 +>>> Query: exec phpt_bug27843 <<< Return: resource array(1) { [0]=> diff --git a/ext/sybase_ct/tests/bug28354.phpt b/ext/sybase_ct/tests/bug28354.phpt index ff6cecb466..3ef374469a 100644 --- a/ext/sybase_ct/tests/bug28354.phpt +++ b/ext/sybase_ct/tests/bug28354.phpt @@ -16,7 +16,7 @@ Sybase-CT bug #28354 (sybase_free_result crash) error_reporting(error_reporting() & !E_NOTICE); // Suppress notices // Check if stored procedure already exists - $sp_name= basename(__FILE__, '.php'); + $sp_name= 'phpt_bug28354'; var_dump(sybase_select_db('tempdb', $db)); if (!sybase_select_single($db, 'select object_id("'.$sp_name.'")')) { echo "Stored procedure {$sp_name} not found, creating\n"; diff --git a/ext/sybase_ct/tests/test_appname.phpt b/ext/sybase_ct/tests/test_appname.phpt index 529ce38597..c423ff0b52 100644 --- a/ext/sybase_ct/tests/test_appname.phpt +++ b/ext/sybase_ct/tests/test_appname.phpt @@ -19,7 +19,7 @@ Sybase-CT application name } // }}} - $program_name= basename(__FILE__, '.php'); + $program_name= 'phpt_test'; $hostname= 'php.net'; ini_set('sybct.hostname', $hostname); @@ -50,7 +50,7 @@ Sybase-CT application name from master..sysprocesses where - program_name = "test_appname" + program_name = "phpt_test" <<< Return: resource array(1) { [0]=> @@ -58,7 +58,7 @@ array(1) { ["hostname"]=> string(10) "php.net%s" ["program_name"]=> - string(16) "test_appname%s" + string(16) "phpt_test%s" } } bool(true) |