~jaypipes/drizzle/replication-to-transaction

« back to all changes in this revision

Viewing changes to drizzled/table_share.h

  • Committer: Brian Aker
  • Date: 2010-03-03 05:02:36 UTC
  • mfrom: (1309.2.19 build)
  • Revision ID: brian@gaz-20100303050236-y7dotibgwks12gyp
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
    max_rows(0),
59
59
    table_proto(NULL),
60
60
    storage_engine(NULL),
61
 
    tmp_table(NO_TMP_TABLE),
 
61
    tmp_table(STANDARD_TABLE),
62
62
    ref_count(0),
63
63
    null_bytes(0),
64
64
    last_null_bit_pos(0),
119
119
    max_rows(0),
120
120
    table_proto(NULL),
121
121
    storage_engine(NULL),
122
 
    tmp_table(NO_TMP_TABLE),
 
122
    tmp_table(STANDARD_TABLE),
123
123
    ref_count(0),
124
124
    null_bytes(0),
125
125
    last_null_bit_pos(0),
260
260
    max_rows= arg;
261
261
  }
262
262
 
 
263
  /**
 
264
   * Returns true if the supplied Field object
 
265
   * is part of the table's primary key.
 
266
   */
 
267
  bool fieldInPrimaryKey(Field *field) const;
 
268
 
263
269
  plugin::StorageEngine *storage_engine;                        /* storage engine plugin */
264
270
  inline plugin::StorageEngine *db_type() const /* table_type for handler */
265
271
  {
449
455
      If someone is waiting for this to be deleted, inform it about this.
450
456
      Don't do a delete until we know that no one is refering to this anymore.
451
457
    */
452
 
    if (tmp_table == NO_TMP_TABLE)
 
458
    if (tmp_table == STANDARD_TABLE)
453
459
    {
454
460
      /* share->mutex is locked in release_table_share() */
455
461
      while (waiting_on_cond)