• unknown's avatar
    Final patch for 5.0 for simplifying storage engine code. We now have just one... · ed35cecd
    unknown authored
    Final patch for 5.0 for simplifying storage engine code. We now have just one set of ifdefs. I may also remove the code for creating new handlers.
    May changes were to simplify storage engine setup and support for legacy call to show storage engines.
    
    
    mysql-test/r/ps_1general.result:
      Fixed test results for new listing order
    sql/examples/ha_tina.cc:
      Removed dead code
    sql/examples/ha_tina.h:
      Removed dead code
    sql/ha_archive.cc:
      Capitalized sotrage engine name and moved disabled code.
    sql/ha_berkeley.cc:
      Moved deisabled code
    sql/ha_federated.cc:
      Removed disabled code
    sql/ha_innodb.cc:
      Removed disabled message
    sql/ha_ndbcluster.cc:
      Removed disabled message
    sql/handler.cc:
      Added in legacy support for sotrage engine listing (ala Serg's request). Removed handlertons variables and we now have simplified ha_init code.
    sql/handler.h:
      No longer need handlertons array.
    ed35cecd
handler.h 33.9 KB