• unknown's avatar
    Made set_part_info a handler method and not a ha_partition method only · 68e89d69
    unknown authored
    The previous variant where it was a specific ha_partition method
    only worked for the partition handler. It was unfortunately called also
    for the NDB handler and in this case it called a random method in the
    NDB handler with random input.
    
    
    sql/ha_ndbcluster.cc:
      Moved initialisation of some handler variables to
      set_part_info method called earlly in the open process
    sql/ha_ndbcluster.h:
      Moved initialisation of some handler variables to
      set_part_info method called earlly in the open process
    sql/ha_partition.h:
      Made set_part_info a handler method and not a ha_partition method only
    sql/handler.h:
      Made set_part_info a handler method and not a ha_partition method only
    sql/sql_partition.cc:
      Made set_part_info a handler method and not a ha_partition method only
    68e89d69
handler.h 51.3 KB