[MDEV-9482] Split the loop in mysql_prepare_create_table into virtual methods in Type_handler Created: 2016-01-28  Updated: 2021-05-11

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Alexander Barkov Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

There is a loop in mysql_prepare_create_table:

    for (uint column_nr=0 ; (column=cols++) ; column_nr++)
    {
    ..
    }

that makes various type specific tests for CHAR, VARCHAR, BLOB, GEOMETRY.
It should be split into virtual methods in Type_handler.


Generated at Thu Feb 08 07:35:00 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.