Is the COLUMN_DEFAULT column (in the information schema's COLUMNS table) NULL?
What this means:
On MariaDB 10.2.7 and up: - Does the column have a default value?
On MySQL and MariaDB 10.2.6 and below: - This can be true if the column doesn't have a default value OR if NULL is the column's default value.
See COLUMN_DEFAULT description at https://mariadb.com/kb/en/information-schema-columns-table/
See Implementation
Is the COLUMN_DEFAULT column (in the information schema's COLUMNS table) NULL?
What this means:
On MariaDB 10.2.7 and up: - Does the column have a default value?
On MySQL and MariaDB 10.2.6 and below: - This can be true if the column doesn't have a default value OR if NULL is the column's default value.