mysqlsuperdump icon indicating copy to clipboard operation
mysqlsuperdump copied to clipboard

Filter 'nodata' does not add 'CREATE TABLE' command

Open andyhawks opened this issue 5 years ago • 0 comments

When using nodata in the [filter] section, the sql dump file contains a DROP TABLE but the CREATE TABLE statement is missing.

Sample mysqlsuperdump.cfg:

[filter]
cache = nodata
cache_admin_menu = nodata
cache_block = nodata
cache_bootstrap = nodata
#cache_field = nodata
cache_filter = nodata
cache_form = nodata
cache_pages = nodata
cache_update = nodata
cache_views = nodata
cache_views_data = nodata
sessions = nodata

Resulting output:

--
-- Structure for table `cache`
--

DROP TABLE IF EXISTS `cache`;

--
-- Structure for table `cache_admin_menu`
--

DROP TABLE IF EXISTS `cache_admin_menu`;

--
-- Structure for table `cache_block`
--

DROP TABLE IF EXISTS `cache_block`;

andyhawks avatar Jul 24 '18 16:07 andyhawks