You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An InlineDerivedTable should maintain the contained table's meta data, such as Table::getPrimaryKey. It currently doesn't, which prevents using it in INSERT .. ON DUPLICATE KEY statements:
lukaseder
changed the title
InlineDerivedTable should override meta methods like Table::getPrimaryKey() and delegate to the actual table
InlineDerivedTable should override meta methods like Table::getPrimaryKey and delegate to the actual table
Sep 29, 2023
The actual problem is in the implementation of the InlineDerivedTable::removeWhere method, which creates a new TableImpl that doesn't contain much of the original meta data
lukaseder
changed the title
InlineDerivedTable should override meta methods like Table::getPrimaryKey and delegate to the actual table
InlineDerivedTable doesn't maintain contained table's meta data in some cases
Sep 29, 2023
An
InlineDerivedTable
should maintain the contained table's meta data, such asTable::getPrimaryKey
. It currently doesn't, which prevents using it inINSERT .. ON DUPLICATE KEY
statements:The reason is that
InlineDerivedTable::removeWhere
removes all the meta data.The text was updated successfully, but these errors were encountered: