• unknown's avatar
    Fix for broken --with-csv-storage-engine build. · a4d8ed87
    unknown authored
    Now we use TABLE::timestamp_field_type instead of
    TABLE::timestamp_default_now/on_update_now for determining
    if we should auto-set value of TIMESTAMP field during this operation.
    We are also use Field_timestamp::set_time() instead of
    handler::update_timestamp().
    
    
    sql/examples/ha_example.cc:
      Now we use TABLE::timestamp_field_type instead of
      TABLE::timestamp_default_now/on_update_now for determining
      if we should auto-set value of TIMESTAMP field during this operation.
      We are also use Field_timestamp::set_time() instead of
      handler::update_timestamp().
    sql/examples/ha_tina.cc:
      Now we use TABLE::timestamp_field_type instead of
      TABLE::timestamp_default_now/on_update_now for determining
      if we should auto-set value of TIMESTAMP field during this operation.
      We are also use Field_timestamp::set_time() instead of
      handler::update_timestamp().
    a4d8ed87
ha_example.cc 20.4 KB