• unknown's avatar
    Fixes made after running with sql-bench · 26d2c58c
    unknown authored
    
    sql/ha_ndbcluster.cc:
      Added new function set_primary_key_from_old_data, used from update_row to specify the primary key of the record to update.
      Simplified index_read function, to use read_range_first
      Close the active cursor if read_range_first is called on an open cursor.
      In read_range_first, map error code from HA_ERR_KEY_NOT_FOUND to HA_ERR_END_OF_FILE.
      Remove call to function waitUntilReady from check_ndb_connection, this shuold remove the delay from transactions executed when node(s) are down.
    sql/ha_ndbcluster.h:
      Added new function set_primary_key_from_old_data
    26d2c58c
ha_ndbcluster.cc 82.5 KB