• Satya B's avatar
    Compile the Innodb plugin so that it can be installed as dynamic plugin only for now. · 797cc5a7
    Satya B authored
    The Innodb plugin 1.0.4 can be installed dynamically using the 'INSTALL PLUGIN' syntax
    
    If mysqld is already statically linked with the inbuilt innodb, it is not possible to 
    install the innodb plugin 1.0.4 dynamically. Doing so would throw this error - Function
    'innodb' already exists.
    
    storage/innodb_plugin/Makefile.am:
      Remove references of 'storage/innobase' and use $(srcdir) instead. 
      Renamed the dynamic plugin library name to 'ha_innodb_plugin' so 
      that it can be installed along with inbuilt plugin.
    storage/innodb_plugin/Makefile.in:
      Remove this file as it can be generated automatically by automake
      using the Makefile.am
    storage/innodb_plugin/handler/ha_innodb.cc:
      Remove refernces to "storage/innobase" and the headers can be included directly.
      Declare the plugin with the new name innodb_plugin
    storage/innodb_plugin/plug.in:
      Rename the plugin innobase as innodb_plugin
    797cc5a7
Makefile.am 7.61 KB