def lut_write_to_cache(lut_key)
      if lut_options(lut_key)[:sql_mode]
        count = lut_write_to_cache_sql_mode(lut_key)
      else
        count = lut_write_to_cache_no_sql_mode(lut_key)
      end

      # HACK: Writing a \0 to terminate batch_items
      lut_write_cache_item(lut_key, count, nil)
    end
def lut_write_to_cache(lut_key)
      if lut_options(lut_key)[:sql_mode]
        count = lut_write_to_cache_sql_mode(lut_key)
      else
        count = lut_write_to_cache_no_sql_mode(lut_key)
      end

      # HACK: Writing a \0 to terminate batch_items
      lut_write_cache_item(lut_key, count, nil)
    end
Write a LookUpTable into Cache