Skip to content

Commit

Permalink
corrected oci field type and field size
Browse files Browse the repository at this point in the history
  • Loading branch information
schengawegga committed Nov 5, 2023
1 parent a3c315f commit e806c36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DB/oci8.php
Expand Up @@ -1075,8 +1075,8 @@ function tableInfo($result, $mode = null)
$res[$i] = array(
'table' => '',
'name' => $case_func(@oci_field_name($result, $i+1)),
'type' => @oci_field_name($result, $i+1),
'len' => @oci_field_name($result, $i+1),
'type' => @oci_field_type($result, $i+1),
'len' => @oci_field_size($result, $i+1),
'flags' => '',
);
if ($mode & DB_TABLEINFO_ORDER) {
Expand Down

0 comments on commit e806c36

Please sign in to comment.