classInstallPlugin
final class InstallPlugin
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.INSTALL PLUGIN name SONAME 'library': a request to load a server plugin from a shared library.
Mirrors Sql_cmd_install_plugin. Rule: MYSQL-INSTALL-PLUGIN-001. The statement names no relation and has no facts. Source: https://dev.mysql.com/doc/refman/8.4/en/install-plugin.html. Status: Implemented.
$install = (new \SqlSemantics\Platform\MySql\Semantics())->analyze("install plugin audit soname 'audit.so'");
[$install->toString(), $install->statement->library->value] // => ["INSTALL PLUGIN audit SONAME 'audit.so'", 'audit.so']Properties§
public Name $pluginpublic Text $libraryMethods§
public function deriveStatement(Derivation $derivation): voidHas nothing to derive: the request names no relation and no value.
Parameters
$derivation | Derivation |
public function render(Output $out): voidWrites the request.
Parameters
$out | Output |
Calls 2
- method-call Output::keyword() line 52
- class-const NameUse::Identifier() line 52
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
InstallPluginTestcalls