• unknown's avatar
    Refactored a number of engines to have correct init/deinit. Added pass support... · c83ffcb4
    unknown authored
    Refactored a number of engines to have correct init/deinit. Added pass support for "data" from plugin to plugin generic init to use memory location. 
    
    
    plugin/daemon_example/plug.in:
      Switched the plug.in type (corrected)
    sql/handler.h:
      Added data pointer to use for engines.
    sql/sql_plugin.cc:
      Passing plugin to generic handlers to allow them to add data to "data"
    storage/archive/ha_archive.cc:
      Refactored. Now uses less logic for startup/shutdown.
    storage/csv/ha_tina.cc:
      Refactored init/deinit to use less code.
    storage/example/ha_example.cc:
      Refactored example to show correct behavior for init/deinit.
    storage/example/ha_example.h:
      Removed unneeded references to methods that do not need to be implemened.
    storage/federated/ha_federated.cc:
      Refactored to use less code and startup/shutdown correctly.
    c83ffcb4
ha_archive.cc 46 KB