Skip to content

Commit

Permalink
- use PRAGMA short_column_names = 1/0 for MDB2_PORTABILITY_FIX_ASSOC_…
Browse files Browse the repository at this point in the history
…FIELD_NAMES handling

git-svn-id: http://svn.php.net/repository/pear/packages/MDB2/trunk@206743 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Lukas Smith committed Feb 8, 2006
1 parent 44697e5 commit f6a11a5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions MDB2/Driver/Reverse/sqlite.php
Expand Up @@ -411,9 +411,6 @@ function tableInfo($result, $mode = null)
);
$mdb2type_info = $db->datatype->mapNativeDatatype($res[$i]);
$res[$i]['mdb2type'] = $mdb2type_info[0][0];
if ($mode & MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES) {
$res[$i]['name'] = preg_replace('/^(?:.*\.)?([^.]+)$/', '\\1', $res[$i]['name']);
}

if ($mode & MDB2_TABLEINFO_ORDER) {
$res['order'][$res[$i]['name']] = $i;
Expand Down

0 comments on commit f6a11a5

Please sign in to comment.