~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

  • Committer: lbieber
  • Date: 2010-10-06 02:01:43 UTC
  • mfrom: (1814.1.1 build)
  • Revision ID: lbieber@orisndriz08-20101006020143-gho0wsmd346m02f9
Merge Brian - fix bug 654905 - DATA_DICTIONARY.TABLE.TYPE not returning BASE or VIEW (it reports the port type).

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
#include "drizzled/transaction_services.h"
46
46
 
 
47
#include "drizzled/message.h"
 
48
 
47
49
using namespace std;
48
50
 
49
51
namespace drizzled
634
636
  }
635
637
 
636
638
  table_message.set_creation_timestamp(table->getShare()->getTableProto()->creation_timestamp());
637
 
 
638
 
  table_message.set_update_timestamp(time(NULL));
 
639
  table_message.set_version(table->getShare()->getTableProto()->version());
 
640
  table_message.set_uuid(table->getShare()->getTableProto()->uuid());
639
641
 
640
642
  rc= false;
641
643
  alter_info->create_list.swap(new_create_list);
665
667
    }
666
668
  }
667
669
 
 
670
  drizzled::message::update(table_message);
 
671
 
668
672
  return rc;
669
673
}
670
674