diff options
| -rwxr-xr-x[-rw-r--r--] | drivers/adodb-pdo_firebird.inc.php | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/drivers/adodb-pdo_firebird.inc.php b/drivers/adodb-pdo_firebird.inc.php index 4671b396..7219e448 100644..100755 --- a/drivers/adodb-pdo_firebird.inc.php +++ b/drivers/adodb-pdo_firebird.inc.php @@ -27,13 +27,19 @@ class ADODB_pdo_firebird extends ADODB_pdo_base { public $dialect = 3; - public $metaTablesSQL = "select lower(rdb\$relation_name) from rdb\$relations where rdb\$relation_name not like 'RDB\$%'"; + public $metaTablesSQL = "select lower(rdb\$relation_name) from rdb\$relations where rdb\$relation_name not like 'RDB\$%' and rdb\$relation_name not like 'MON\$%' and rdb\$relation_name not like 'SEC\$%'"; public $metaColumnsSQL = "select lower(a.rdb\$field_name), a.rdb\$null_flag, a.rdb\$default_source, b.rdb\$field_length, b.rdb\$field_scale, b.rdb\$field_sub_type, b.rdb\$field_precision, b.rdb\$field_type from rdb\$relation_fields a, rdb\$fields b where a.rdb\$field_source = b.rdb\$field_name and a.rdb\$relation_name = '%s' order by a.rdb\$field_position asc"; var $arrayClass = 'ADORecordSet_array_pdo_firebird'; + function _init($parentDriver) + { + $parentDriver->hasTransactions = true; + $parentDriver->hasInsertID = true; + } + /** - * Gets the version iformation from the server + * Gets the version information from the server * * @return string[] */ @@ -257,6 +263,11 @@ class ADODB_pdo_firebird extends ADODB_pdo_base return $this->genID; } + function selectDB($dbName) + { + return false; + } + public function selectLimit($sql, $nrows = -1, $offset = -1, $inputarr = false, $secs = 0) { $nrows = (int)$nrows; @@ -402,6 +413,7 @@ class ADORecordSet_pdo_firebird extends ADORecordSet_pdo */ public function fetchField($fieldOffset = 0) { + return false; } } |
