"TYPO3 4.0.1: typo3_src-4.0.1/typo3/sysext/adodb/adodb/datadict/datadict-ibase.inc.php Source File", "datetime" => "Sat Dec 2 19:22:25 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>
00001 <?php 00002 00013 // security - hide paths 00014 if (!defined('ADODB_DIR')) die(); 00015 00016 class ADODB2_ibase extends ADODB_DataDict { 00017 00018 var $databaseType = 'ibase'; 00019 var $seqField = false; 00020 00021 00022 function ActualType($meta) 00023 { 00024 switch($meta) { 00025 case 'C': return 'VARCHAR'; 00026 case 'XL': 00027 case 'X': return 'VARCHAR(4000)'; 00028 00029 case 'C2': return 'VARCHAR'; // up to 32K 00030 case 'X2': return 'VARCHAR(4000)'; 00031 00032 case 'B': return 'BLOB'; 00033 00034 case 'D': return 'DATE'; 00035 case 'T': return 'TIMESTAMP'; 00036 00037 case 'L': return 'SMALLINT'; 00038 case 'I': return 'INTEGER'; 00039 case 'I1': return 'SMALLINT'; 00040 case 'I2': return 'SMALLINT'; 00041 case 'I4': return 'INTEGER'; 00042 case 'I8': return 'INTEGER'; 00043 00044 case 'F': return 'DOUBLE PRECISION'; 00045 case 'N': return 'DECIMAL'; 00046 default: 00047 return $meta; 00048 } 00049 } 00050 00051 function AlterColumnSQL($tabname, $flds) 00052 { 00053 if ($this->debug) ADOConnection::outp("AlterColumnSQL not supported"); 00054 return array(); 00055 } 00056 00057 00058 function DropColumnSQL($tabname, $flds) 00059 { 00060 if ($this->debug) ADOConnection::outp("DropColumnSQL not supported"); 00061 return array(); 00062 } 00063 00064 } 00065 00066 00067 ?>