~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Stewart Smith
  • Date: 2009-05-19 04:22:01 UTC
  • mto: (991.1.9 for-brian)
  • mto: This revision was merged to the branch mainline in revision 1033.
  • Revision ID: stewart@flamingspork.com-20090519042201-gwp8gqfknmypbhfi
Put table_name into table proto in parser, and use that when creating table proto file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1535
1535
    open_table().
1536
1536
  */
1537
1537
  {
 
1538
    drizzled::message::Table table_proto;
 
1539
    table_proto.set_name(create_table->table_name);
 
1540
 
1538
1541
    if (!mysql_create_table_no_lock(session, create_table->db,
1539
1542
                                    create_table->table_name,
1540
 
                                    create_info, alter_info, 0,
 
1543
                                    create_info,
 
1544
                                    &table_proto,
 
1545
                                    alter_info, 0,
1541
1546
                                    select_field_count, true))
1542
1547
    {
1543
1548
      if (create_info->table_existed &&