Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL forge _alter_table() implementation differs from MSSQL, SQLSRV, PDO, etc. #1005

Closed
Radio opened this issue Jan 31, 2012 · 0 comments
Closed

Comments

@Radio
Copy link

Radio commented Jan 31, 2012

CI_DB_mysql_forge::_alter_table() implementation differs from other drivers. It takes $fields array instead of splitted fild data like other drivers.

MySQL:
function _alter_table($alter_type, $table, $fields, $after_field = '')

MSSQL:
function _alter_table($alter_type, $table, $column_name, $column_definition = '', $default_value = '', $null = '', $after_field = '')

Shouldn't all forges have same interface?

narfbg added a commit that referenced this issue Nov 5, 2012
- PDO subdrivers are isolated from each other now.
- Added compatibility for pretty much all of the features, for every DB platform.
- Unified the way that stuff works in general.
- Fixes issue #1005.
@narfbg narfbg closed this as completed Nov 5, 2012
nonchip pushed a commit to nonchip/CodeIgniter that referenced this issue Jun 29, 2013
- PDO subdrivers are isolated from each other now.
- Added compatibility for pretty much all of the features, for every DB platform.
- Unified the way that stuff works in general.
- Fixes issue bcit-ci#1005.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants