~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Brian Aker
  • Date: 2010-03-04 18:27:48 UTC
  • mto: This revision was merged to the branch mainline in revision 1322.
  • Revision ID: brian@gaz-20100304182748-o5gst7e8050ztue6
Remove old need for Cursor in creating table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1472
1472
 
1473
1473
  bool lex_identified_temp_table= (table_proto.type() == message::Table::TEMPORARY);
1474
1474
 
1475
 
  if (!(lex_identified_temp_table) &&
 
1475
  if (not (lex_identified_temp_table) &&
1476
1476
      create_table->table->db_stat)
1477
1477
  {
1478
1478
    /* Table already exists and was open at openTablesLock() stage. */
1495
1495
 
1496
1496
  tmp_table.s->db_create_options=0;
1497
1497
  tmp_table.s->blob_ptr_size= portable_sizeof_char_ptr;
1498
 
  tmp_table.s->db_low_byte_first=
1499
 
        test(create_info->db_type == myisam_engine ||
1500
 
             create_info->db_type == heap_engine);
 
1498
 
 
1499
  if (not table_proto.engine().name().compare("MyISAM"))
 
1500
    tmp_table.s->db_low_byte_first= true;
 
1501
  else if (not table_proto.engine().name().compare("MEMORY"))
 
1502
    tmp_table.s->db_low_byte_first= true;
 
1503
 
1501
1504
  tmp_table.null_row= false;
1502
1505
  tmp_table.maybe_null= false;
1503
1506