~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/ha_heap.cc

  • Committer: Brian Aker
  • Date: 2009-05-06 06:59:53 UTC
  • mfrom: (1003.1.20 merge)
  • Revision ID: brian@gaz-20090506065953-4mrfmaty42e0ixpq
Merge handler cleanup (and ALTER TABLE cleanup) We go from 1 and 2 half
thought out systems... to just 1.

This should all be changed when we finish the StorageEngine rewrite

Show diffs side-by-side

added added

removed removed

Lines of Context:
837
837
}
838
838
 
839
839
 
840
 
bool ha_heap::check_if_incompatible_data(HA_CREATE_INFO *info_in,
841
 
                                         uint32_t table_changes)
842
 
{
843
 
  /* Check that auto_increment value was not changed */
844
 
  if ((info_in->used_fields & HA_CREATE_USED_AUTO &&
845
 
       info_in->auto_increment_value != 0) ||
846
 
      table_changes == IS_EQUAL_NO ||
847
 
      table_changes & IS_EQUAL_PACK_LENGTH) // Not implemented yet
848
 
    return COMPATIBLE_DATA_NO;
849
 
  return COMPATIBLE_DATA_YES;
850
 
}
851
 
 
852
840
drizzle_declare_plugin(heap)
853
841
{
854
842
  "MEMORY",