Browse Source

Fix diff when full connection string used. Clean up helper files

experimental/first_unicode_implementation
Christopher Jones 17 years ago
parent
commit
94dc8024d9
  1. 15
      ext/oci8/tests/drop_table.inc
  2. 13
      ext/oci8/tests/drop_type.inc
  3. 8
      ext/oci8/tests/extauth_01.phpt
  4. 8
      ext/oci8/tests/extauth_02.phpt
  5. 8
      ext/oci8/tests/extauth_03.phpt

15
ext/oci8/tests/drop_table.inc

@ -1,12 +1,7 @@
<?php
if ($c) {
$ora_sql = "DROP TABLE
".$schema.$table_name."
";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
}
if ($c) {
$ora_sql = "DROP TABLE ".$schema.$table_name;
$statement = oci_parse($c,$ora_sql);
oci_execute($statement);
}
?>

13
ext/oci8/tests/drop_type.inc

@ -1,12 +1,7 @@
<?php
if ($c) {
$ora_sql = "DROP TYPE
".$type_name."
";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
if ($c) {
$ora_sql = "DROP TYPE ".$type_name;
$statement = oci_parse($c,$ora_sql);
oci_execute($statement);
}
?>

8
ext/oci8/tests/extauth_01.phpt

@ -139,12 +139,12 @@ bool(false)
bool(false)
Test 7
Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
Warning: oci_connect(): ORA-12154: %s in %s on line %d
array(4) {
[%u|b%"code"]=>
int(12154)
[%u|b%"message"]=>
%unicode|string%(65) "ORA-12154: %s"
%unicode|string%(%d) "ORA-12154: %s"
[%u|b%"offset"]=>
int(0)
[%u|b%"sqltext"]=>
@ -153,12 +153,12 @@ array(4) {
bool(false)
Test 8
Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
Warning: oci_connect(): ORA-12154: %s in %s on line %d
array(4) {
[%u|b%"code"]=>
int(12154)
[%u|b%"message"]=>
%unicode|string%(65) "ORA-12154: %s"
%unicode|string%(%d) "ORA-12154: %s"
[%u|b%"offset"]=>
int(0)
[%u|b%"sqltext"]=>

8
ext/oci8/tests/extauth_02.phpt

@ -139,12 +139,12 @@ bool(false)
bool(false)
Test 7
Warning: oci_new_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
Warning: oci_new_connect(): ORA-12154: %s in %s on line %d
array(4) {
[%u|b%"code"]=>
int(12154)
[%u|b%"message"]=>
%unicode|string%(65) "ORA-12154: %s"
%unicode|string%(%d) "ORA-12154: %s"
[%u|b%"offset"]=>
int(0)
[%u|b%"sqltext"]=>
@ -153,12 +153,12 @@ array(4) {
bool(false)
Test 8
Warning: oci_new_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
Warning: oci_new_connect(): ORA-12154: %s in %s on line %d
array(4) {
[%u|b%"code"]=>
int(12154)
[%u|b%"message"]=>
%unicode|string%(65) "ORA-12154: %s"
%unicode|string%(%d) "ORA-12154: %s"
[%u|b%"offset"]=>
int(0)
[%u|b%"sqltext"]=>

8
ext/oci8/tests/extauth_03.phpt

@ -139,12 +139,12 @@ bool(false)
bool(false)
Test 7
Warning: oci_pconnect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
Warning: oci_pconnect(): ORA-12154: %s in %s on line %d
array(4) {
[%u|b%"code"]=>
int(12154)
[%u|b%"message"]=>
%unicode|string%(65) "ORA-12154: %s"
%unicode|string%(%d) "ORA-12154: %s"
[%u|b%"offset"]=>
int(0)
[%u|b%"sqltext"]=>
@ -153,12 +153,12 @@ array(4) {
bool(false)
Test 8
Warning: oci_pconnect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
Warning: oci_pconnect(): ORA-12154: %s in %s on line %d
array(4) {
[%u|b%"code"]=>
int(12154)
[%u|b%"message"]=>
%unicode|string%(65) "ORA-12154: %s"
%unicode|string%(%d) "ORA-12154: %s"
[%u|b%"offset"]=>
int(0)
[%u|b%"sqltext"]=>

Loading…
Cancel
Save