~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/transaction_log.cc

  • Committer: Monty Taylor
  • Date: 2010-08-12 06:10:25 UTC
  • mto: (1711.1.1 innodb-plugin-merge)
  • mto: This revision was merged to the branch mainline in revision 1712.
  • Revision ID: mordred@inaugust.com-20100812061025-cme620sdil8aov41
Free strdup'd option strings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
  state= ONLINE;
139
139
}
140
140
 
141
 
TransactionLog::~TransactionLog()
142
 
{
143
 
  /* Clear up any resources we've consumed */
144
 
  if (log_file != -1)
145
 
  {
146
 
    (void) close(log_file);
147
 
  }
148
 
}
149
 
 
150
141
uint8_t *TransactionLog::packTransactionIntoLogEntry(const message::Transaction &trx,
151
142
                                                     uint8_t *buffer,
152
143
                                                     uint32_t *checksum_out)