Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-18093

PLUGIN UNUSABLE does not exist

    XMLWordPrintable

    Details

      Description

      Plugin name is returned as 'UNUSABLE' in the below example from 10.4.1:

      INSTALL PLUGIN IF NOT EXISTS example SONAME 'ha_example';
      Query OK, 0 rows affected (0.104 sec)
       
      UNINSTALL SONAME IF EXISTS 'ha_example';
      Query OK, 0 rows affected, 1 warning (0.095 sec)
       
      SHOW WARNINGS;
      +-------+------+--------------------------------+
      | Level | Code | Message                        |
      +-------+------+--------------------------------+
      | Note  | 1305 | PLUGIN UNUSABLE does not exist |
      +-------+------+--------------------------------+
      1 row in set (0.000 sec)
       
      UNINSTALL SONAME IF EXISTS 'ha_example';
      Query OK, 0 rows affected, 1 warning (0.000 sec)
       
      SHOW WARNINGS;
      +-------+------+-------------------------------------+
      | Level | Code | Message                             |
      +-------+------+-------------------------------------+
      | Note  | 1305 | SONAME ha_example.so does not exist |
      +-------+------+-------------------------------------+
      

      The same occurs if the IF [NOT] EXISTS clauses are omitted, and in 10.0.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            greenman Ian Gilfillan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: