/home/desid573/public_html/ims2/system/database/drivers/pdo/subdrivers
NameSizeModeActions
index.html1310644editdlrm
pdo_4d_driver.php57570644editdlrm
pdo_4d_forge.php54410644editdlrm
pdo_cubrid_driver.php56140644editdlrm
pdo_cubrid_forge.php59210644editdlrm
pdo_dblib_driver.php103020644editdlrm
pdo_dblib_forge.php44050644editdlrm
pdo_firebird_driver.php78330644editdlrm
pdo_firebird_forge.php63440644editdlrm
pdo_ibm_driver.php67030644editdlrm
pdo_ibm_forge.php41440644editdlrm
pdo_informix_driver.php85900644editdlrm
pdo_informix_forge.php43990644editdlrm
pdo_mysql_driver.php101210644editdlrm
pdo_mysql_forge.php64510644editdlrm
pdo_oci_driver.php85590644editdlrm
pdo_oci_forge.php55600644editdlrm
pdo_odbc_driver.php59610644editdlrm
pdo_odbc_forge.php23960644editdlrm
pdo_pgsql_driver.php98190644editdlrm
pdo_pgsql_forge.php59920644editdlrm
pdo_sqlite_driver.php57170644editdlrm
pdo_sqlite_forge.php62460644editdlrm
pdo_sqlsrv_driver.php110180644editdlrm
pdo_sqlsrv_forge.php44070644editdlrm
Edit: /home/desid573/public_html/ims2/system/database/drivers/pdo/subdrivers/pdo_ibm_forge.php (4144B)
'INTEGER', 'INT' => 'BIGINT', 'INTEGER' => 'BIGINT' ); /** * DEFAULT value representation in CREATE/ALTER TABLE statements * * @var string */ protected $_default = FALSE; // -------------------------------------------------------------------- /** * ALTER TABLE * * @param string $alter_type ALTER type * @param string $table Table name * @param mixed $field Column definition * @return string|string[] */ protected function _alter_table($alter_type, $table, $field) { if ($alter_type === 'CHANGE') { $alter_type = 'MODIFY'; } return parent::_alter_table($alter_type, $table, $field); } // -------------------------------------------------------------------- /** * Field attribute TYPE * * Performs a data type mapping between different databases. * * @param array &$attributes * @return void */ protected function _attr_type(&$attributes) { switch (strtoupper($attributes['TYPE'])) { case 'TINYINT': $attributes['TYPE'] = 'SMALLINT'; $attributes['UNSIGNED'] = FALSE; return; case 'MEDIUMINT': $attributes['TYPE'] = 'INTEGER'; $attributes['UNSIGNED'] = FALSE; return; default: return; } } // -------------------------------------------------------------------- /** * Field attribute UNIQUE * * @param array &$attributes * @param array &$field * @return void */ protected function _attr_unique(&$attributes, &$field) { if ( ! empty($attributes['UNIQUE']) && $attributes['UNIQUE'] === TRUE) { $field['unique'] = ' UNIQUE'; // UNIQUE must be used with NOT NULL $field['null'] = ' NOT NULL'; } } // -------------------------------------------------------------------- /** * Field attribute AUTO_INCREMENT * * @param array &$attributes * @param array &$field * @return void */ protected function _attr_auto_increment(&$attributes, &$field) { // Not supported } }