Commit e7ca377c authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-16342 SHOW ENGINES: MyISAM description is useless

rewrite tautological engine descriptions
parent 1d43f71c
...@@ -1387,7 +1387,7 @@ USE test; ...@@ -1387,7 +1387,7 @@ USE test;
End of 5.0 tests. End of 5.0 tests.
select * from information_schema.engines WHERE ENGINE="MyISAM"; select * from information_schema.engines WHERE ENGINE="MyISAM";
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
MyISAM DEFAULT MyISAM storage engine NO NO NO MyISAM DEFAULT Non-transactional engine with good performance and small data footprint NO NO NO
grant select on *.* to user3148@localhost; grant select on *.* to user3148@localhost;
select user,db from information_schema.processlist; select user,db from information_schema.processlist;
user db user db
......
if (!`SELECT count(*) FROM information_schema.plugins WHERE if (!`SELECT count(*) FROM information_schema.plugins WHERE
plugin_name = 'federated' AND plugin_status = 'active' AND plugin_name = 'federated' AND plugin_status = 'active' AND
plugin_description LIKE '%FederatedX%'`){ plugin_description LIKE '%transactions%'`){
skip Need FederatedX engine; skip Need FederatedX engine;
} }
...@@ -2,7 +2,7 @@ SELECT * FROM information_schema.engines ...@@ -2,7 +2,7 @@ SELECT * FROM information_schema.engines
WHERE ENGINE = 'ARCHIVE'; WHERE ENGINE = 'ARCHIVE';
ENGINE ARCHIVE ENGINE ARCHIVE
SUPPORT YES SUPPORT YES
COMMENT Archive storage engine COMMENT gzip-compresses tables for a low storage footprint
TRANSACTIONS NO TRANSACTIONS NO
XA NO XA NO
SAVEPOINTS NO SAVEPOINTS NO
...@@ -2,7 +2,7 @@ SELECT * FROM information_schema.engines ...@@ -2,7 +2,7 @@ SELECT * FROM information_schema.engines
WHERE ENGINE = 'CSV'; WHERE ENGINE = 'CSV';
ENGINE CSV ENGINE CSV
SUPPORT YES SUPPORT YES
COMMENT CSV storage engine COMMENT Stores tables as CSV files
TRANSACTIONS NO TRANSACTIONS NO
XA NO XA NO
SAVEPOINTS NO SAVEPOINTS NO
...@@ -2,7 +2,7 @@ SELECT * FROM information_schema.engines ...@@ -2,7 +2,7 @@ SELECT * FROM information_schema.engines
WHERE ENGINE = 'FEDERATED'; WHERE ENGINE = 'FEDERATED';
ENGINE FEDERATED ENGINE FEDERATED
SUPPORT YES SUPPORT YES
COMMENT FederatedX pluggable storage engine COMMENT Allows to access tables on other MariaDB servers, supports transactions and more
TRANSACTIONS YES TRANSACTIONS YES
XA NO XA NO
SAVEPOINTS YES SAVEPOINTS YES
...@@ -2,7 +2,7 @@ SELECT * FROM information_schema.engines ...@@ -2,7 +2,7 @@ SELECT * FROM information_schema.engines
WHERE ENGINE = 'MyISAM'; WHERE ENGINE = 'MyISAM';
ENGINE MyISAM ENGINE MyISAM
SUPPORT DEFAULT SUPPORT DEFAULT
COMMENT MyISAM storage engine COMMENT Non-transactional engine with good performance and small data footprint
TRANSACTIONS NO TRANSACTIONS NO
XA NO XA NO
SAVEPOINTS NO SAVEPOINTS NO
...@@ -1840,7 +1840,7 @@ maria_declare_plugin(archive) ...@@ -1840,7 +1840,7 @@ maria_declare_plugin(archive)
&archive_storage_engine, &archive_storage_engine,
"ARCHIVE", "ARCHIVE",
"Brian Aker, MySQL AB", "Brian Aker, MySQL AB",
"Archive storage engine", "gzip-compresses tables for a low storage footprint",
PLUGIN_LICENSE_GPL, PLUGIN_LICENSE_GPL,
archive_db_init, /* Plugin Init */ archive_db_init, /* Plugin Init */
archive_db_done, /* Plugin Deinit */ archive_db_done, /* Plugin Deinit */
......
...@@ -1800,7 +1800,7 @@ maria_declare_plugin(csv) ...@@ -1800,7 +1800,7 @@ maria_declare_plugin(csv)
&csv_storage_engine, &csv_storage_engine,
"CSV", "CSV",
"Brian Aker, MySQL AB", "Brian Aker, MySQL AB",
"CSV storage engine", "Stores tables as CSV files",
PLUGIN_LICENSE_GPL, PLUGIN_LICENSE_GPL,
tina_init_func, /* Plugin Init */ tina_init_func, /* Plugin Init */
tina_done_func, /* Plugin Deinit */ tina_done_func, /* Plugin Deinit */
......
...@@ -3503,7 +3503,7 @@ maria_declare_plugin(federated) ...@@ -3503,7 +3503,7 @@ maria_declare_plugin(federated)
&federated_storage_engine, &federated_storage_engine,
"FEDERATED", "FEDERATED",
"Patrick Galbraith and Brian Aker, MySQL AB", "Patrick Galbraith and Brian Aker, MySQL AB",
"Federated MySQL storage engine", "Allows to access tables on other MariaDB servers",
PLUGIN_LICENSE_GPL, PLUGIN_LICENSE_GPL,
federated_db_init, /* Plugin Init */ federated_db_init, /* Plugin Init */
federated_done, /* Plugin Deinit */ federated_done, /* Plugin Deinit */
......
...@@ -3608,7 +3608,7 @@ maria_declare_plugin(federatedx) ...@@ -3608,7 +3608,7 @@ maria_declare_plugin(federatedx)
&federatedx_storage_engine, &federatedx_storage_engine,
"FEDERATED", "FEDERATED",
"Patrick Galbraith", "Patrick Galbraith",
"FederatedX pluggable storage engine", "Allows to access tables on other MariaDB servers, supports transactions and more",
PLUGIN_LICENSE_GPL, PLUGIN_LICENSE_GPL,
federatedx_db_init, /* Plugin Init */ federatedx_db_init, /* Plugin Init */
federatedx_done, /* Plugin Deinit */ federatedx_done, /* Plugin Deinit */
......
...@@ -2346,7 +2346,7 @@ maria_declare_plugin(myisam) ...@@ -2346,7 +2346,7 @@ maria_declare_plugin(myisam)
&myisam_storage_engine, &myisam_storage_engine,
"MyISAM", "MyISAM",
"MySQL AB", "MySQL AB",
"MyISAM storage engine", "Non-transactional engine with good performance and small data footprint",
PLUGIN_LICENSE_GPL, PLUGIN_LICENSE_GPL,
myisam_init, /* Plugin Init */ myisam_init, /* Plugin Init */
NULL, /* Plugin Deinit */ NULL, /* Plugin Deinit */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment