~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/src/ha_pbxt.cc

  • Committer: Brian Aker
  • Date: 2010-06-08 06:42:22 UTC
  • Revision ID: brian@gaz-20100608064222-91h6yilydxke9umi
Cursor now fully handles the update to timestamp for the engine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2676
2676
                        pb_import_row_count++;
2677
2677
        }
2678
2678
 
2679
 
        if (table->timestamp_field_type & TIMESTAMP_AUTO_SET_ON_INSERT)
2680
 
                table->timestamp_field->set_time();
2681
 
 
2682
2679
        if (table->next_number_field && buf == table->record[0]) {
2683
2680
                int update_err = update_auto_increment();
2684
2681
                if (update_err) {
2779
2776
                pb_open_tab->ot_update_id++;
2780
2777
        }
2781
2778
 
2782
 
        if (table->timestamp_field_type & TIMESTAMP_AUTO_SET_ON_UPDATE)
2783
 
                table->timestamp_field->set_time();
2784
 
 
2785
2779
#ifdef PBMS_ENABLED
2786
2780
        PBMSResultRec result;
2787
2781