Differences Between: [Versions 310 and 400] [Versions 311 and 400] [Versions 39 and 400] [Versions 400 and 401] [Versions 400 and 402] [Versions 400 and 403]
1 <?php 2 /** 3 * Data Dictionary for Interbase. 4 * 5 * This file is part of ADOdb, a Database Abstraction Layer library for PHP. 6 * 7 * @package ADOdb 8 * @link https://adodb.org Project's web site and documentation 9 * @link https://github.com/ADOdb/ADOdb Source code and issue tracker 10 * 11 * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause 12 * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, 13 * any later version. This means you can use it in proprietary products. 14 * See the LICENSE.md file distributed with this source code for details. 15 * @license BSD-3-Clause 16 * @license LGPL-2.1-or-later 17 * 18 * @copyright 2000-2013 John Lim 19 * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community 20 */ 21 22 // security - hide paths 23 if (!defined('ADODB_DIR')) die(); 24 25 class ADODB2_ibase extends ADODB_DataDict { 26 27 var $databaseType = 'ibase'; 28 var $seqField = false; 29 30 31 function ActualType($meta) 32 { 33 switch($meta) { 34 case 'C': return 'VARCHAR'; 35 case 'XL': 36 case 'X': return 'VARCHAR(4000)'; 37 38 case 'C2': return 'VARCHAR'; // up to 32K 39 case 'X2': return 'VARCHAR(4000)'; 40 41 case 'B': return 'BLOB'; 42 43 case 'D': return 'DATE'; 44 case 'TS': 45 case 'T': return 'TIMESTAMP'; 46 47 case 'L': return 'SMALLINT'; 48 case 'I': return 'INTEGER'; 49 case 'I1': return 'SMALLINT'; 50 case 'I2': return 'SMALLINT'; 51 case 'I4': return 'INTEGER'; 52 case 'I8': return 'INTEGER'; 53 54 case 'F': return 'DOUBLE PRECISION'; 55 case 'N': return 'DECIMAL'; 56 default: 57 return $meta; 58 } 59 } 60 61 function AlterColumnSQL($tabname, $flds, $tableflds='', $tableoptions='') 62 { 63 if ($this->debug) ADOConnection::outp("AlterColumnSQL not supported"); 64 return array(); 65 } 66 67 68 function DropColumnSQL($tabname, $flds, $tableflds='', $tableoptions='') 69 { 70 if ($this->debug) ADOConnection::outp("DropColumnSQL not supported"); 71 return array(); 72 } 73 74 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body