Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Request #3219 Column alias for Interbase

git-svn-id: http://svn.php.net/repository/pear/packages/MDB/trunk@179472 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit 02ee2a83bc826a1c6aa0d776827e793de00eaa6e 1 parent f013594
@quipo quipo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  MDB/ibase.php
View
2  MDB/ibase.php
@@ -654,7 +654,7 @@ function getColumnNames($result)
$columns = @ibase_num_fields($result);
for ($column=0; $column < $columns; $column++) {
$column_info = @ibase_field_info($result, $column);
- $field_name = $column_info['name'];
+ $field_name = $column_info['alias'];
if ($this->options['optimize'] == 'portability') {
$field_name = strtolower($field_name);
}
Please sign in to comment.
Something went wrong with that request. Please try again.