From https://mariadb.com/kb/en/library/show-create-table/,
I read
MariaDB and MySQL-specific table options, column options, and index options are not included in the output of this statement if the NO_TABLE_OPTIONS, NO_FIELD_OPTIONS and NO_KEY_OPTIONS SQL_MODE flags are used.
I am not sure NO_TABLE_OPTIONS
, NO_FIELD_OPTIONS
and NO_KEY_OPTIONS SQL_MODE
change only the grammar or change database content.
Is database resource
from mysqldump --NO_TABLE_OPTIONS --NO_FIELD_OPTIONS --NO_KEY_OPTIONS SQL_MODE --databases db1
same as resource
from mysqldump --databases db1
?