MySQL & MariaDB error 4131 ER_TABLE_IN_SHARED_TABLESPACE
Same number, two different errors. 4131 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLTable '…' is in a shared tablespace.
MariaDBCan not DROP SYSTEM VERSIONING for table … partitioned BY SYSTEM_TIME