[MDEV-5260] discovery with sql is too restrictive Created: 2013-11-08  Updated: 2013-11-10  Resolved: 2013-11-10

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.5
Fix Version/s: 10.0.6

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None


 Description   

Currently the SQL syntax that is accepted for sql-based discovery (in TABLE_SHARE::init_from_sql_statement_string() restricts the CREATE TABLE statement to a certain subset of all allowed syntaxes. In particular, one cannot use the ENGINE= clause. This is unnecessary restrictive, one should be able to specify ENGINE=xxx as long as xxx is the engine performing the discovery. Just as before, one should not be able to alter table's engine during the discovery.


Generated at Thu Feb 08 07:02:54 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.