[MDEV-19612] Split ALTER related data type specific code in sql_table.cc to Type_handler Created: 2019-05-28 Updated: 2019-05-28 Resolved: 2019-05-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Fix Version/s: | 10.5.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Some code in sql_table.cc is not friendly to pluggable data types: In mysql_prepare_alter_table():
In mysql_alter_table():
Let's split this code into two new virtual methods in Type_handler:
|