~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/transaction_services.h

  • Committer: Monty Taylor
  • Date: 2010-09-28 17:45:19 UTC
  • mfrom: (1799.1.6 build)
  • Revision ID: mordred@inaugust.com-20100928174519-y6ie2f3wa4t6o669
Rollup patch with several bugfixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
class Session;
43
43
class NamedSavepoint;
44
 
 
 
44
class Field;
 
45
 
45
46
/**
46
47
 * This is a class which manages the XA transaction processing
47
48
 * in the server
428
429
  }
429
430
private:
430
431
  atomic<TransactionId> current_transaction_id;
 
432
 
 
433
  /**
 
434
   * Checks if a field has been updated 
 
435
   *
 
436
   * @param current_field Pointer to the field to check if it is updated 
 
437
   * @in_table Pointer to the Table containing update information
 
438
   * @param old_record Pointer to the raw bytes representing the old record/row
 
439
   * @param new_record Pointer to the raw bytes representing the new record/row
 
440
   */
 
441
  bool isFieldUpdated(Field *current_field,
 
442
                      Table *in_table,
 
443
                      const unsigned char *old_record,
 
444
                      const unsigned char *new_record);
431
445
};
432
446
 
433
447
} /* namespace drizzled */