mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-14789 Creating federated table on versioned table fails
don't allow to discover WITH SYSTEM VERSIONING clause originally by: Aleksey Midenkov
This commit is contained in:
@@ -2728,6 +2728,9 @@ static bool sql_unusable_for_discovery(THD *thd, handlerton *engine,
|
||||
// ... engine
|
||||
if (create_info->db_type && create_info->db_type != engine)
|
||||
return 1;
|
||||
// ... WITH SYSTEM VERSIONING
|
||||
if (create_info->versioned())
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user