MXS-2188: Update target table in prepare_table

Passing the target table and create to the prepare_table function allows
the converter to update the internal variables.
This commit is contained in:
Markus Mäkelä
2018-11-27 12:35:39 +02:00
parent 2eee524eef
commit 2dc6718d47
4 changed files with 17 additions and 8 deletions

View File

@ -183,8 +183,8 @@ public:
return true;
}
// Prepare a new row for processing
virtual bool prepare_table(std::string database, std::string table)
// Prepare a table for row processing
virtual bool prepare_table(const STableMapEvent& map, const STableCreateEvent& create)
{
return true;
}