Add module level static capabilities
The static capabilities declared in getCapabilities allows certain capabilities to be queried before instances are created. The intended use of this capability is to remove the need for the `is_internal_service` function.
This commit is contained in:
@ -148,6 +148,7 @@ extern "C"
|
||||
QUERY_CLASSIFIER_VERSION,
|
||||
"Dummy Query Classifier",
|
||||
"V1.0.0",
|
||||
MXS_NO_MODULE_CAPABILITIES,
|
||||
&qc,
|
||||
qc_dummy_process_init,
|
||||
qc_dummy_process_end,
|
||||
|
@ -2752,6 +2752,7 @@ extern "C"
|
||||
QUERY_CLASSIFIER_VERSION,
|
||||
"Query classifier based upon MySQL Embedded",
|
||||
"V1.0.0",
|
||||
MXS_NO_MODULE_CAPABILITIES,
|
||||
&qc,
|
||||
qc_mysql_process_init,
|
||||
qc_mysql_process_end,
|
||||
|
@ -3452,6 +3452,7 @@ MXS_MODULE* MXS_CREATE_MODULE()
|
||||
QUERY_CLASSIFIER_VERSION,
|
||||
"Query classifier using sqlite.",
|
||||
"V1.0.0",
|
||||
MXS_NO_MODULE_CAPABILITIES,
|
||||
&qc,
|
||||
qc_sqlite_process_init,
|
||||
qc_sqlite_process_end,
|
||||
|
Reference in New Issue
Block a user