mariadb_dyncol_exists_num − Check if column with given number exists.
enum enum_dyncol_func_result mariadb_dyncol_exists_num(DYNAMIC_COLUMN *str, uint column_number);
Checks if a column with the specified column key exists.
• |
*str − Dynamic column |
|||
• |
column_number − The column number to search for |
Returns ER_DYNCOL_YES if a column with given number exists, ER_DYNCOL_NO if no column exists or error.
• |
<mariadb_dyncol_exists_named> |
|||
• |
Dynamic Column Error Codes (dyncol_typesanddefs#error-codes) |