Hide materialized views in MySQL
This commit is contained in:
parent
346353153d
commit
e4d35f9591
|
@ -1021,7 +1021,7 @@ if (!defined("DRIVER")) {
|
||||||
*/
|
*/
|
||||||
function support($feature) {
|
function support($feature) {
|
||||||
global $connection;
|
global $connection;
|
||||||
return !preg_match("~scheme|sequence|type|view_trigger" . ($connection->server_info < 5.1 ? "|event|partitioning" . ($connection->server_info < 5 ? "|routine|trigger|view" : "") : "") . "~", $feature);
|
return !preg_match("~scheme|sequence|type|view_trigger|materializedview" . ($connection->server_info < 5.1 ? "|event|partitioning" . ($connection->server_info < 5 ? "|routine|trigger|view" : "") : "") . "~", $feature);
|
||||||
}
|
}
|
||||||
|
|
||||||
function kill_process($val) {
|
function kill_process($val) {
|
||||||
|
|
Loading…
Reference in a new issue