~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Nathan Williams
  • Date: 2009-06-05 22:51:06 UTC
  • mto: This revision was merged to the branch mainline in revision 1063.
  • Revision ID: nathanlws@gmail.com-20090605225106-8xrsftpf50tdpumn
No actual code changes. Changed Create_field to CreateField to be consistent with coding standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1450
1450
                                      List<Item> *items,
1451
1451
                                      DRIZZLE_LOCK **lock)
1452
1452
{
1453
 
  Table tmp_table;              // Used during 'Create_field()'
 
1453
  Table tmp_table;              // Used during 'CreateField()'
1454
1454
  TableShare share;
1455
1455
  Table *table= 0;
1456
1456
  uint32_t select_field_count= items->elements;
1491
1491
 
1492
1492
  while ((item=it++))
1493
1493
  {
1494
 
    Create_field *cr_field;
 
1494
    CreateField *cr_field;
1495
1495
    Field *field, *def_field;
1496
1496
    if (item->type() == Item::FUNC_ITEM)
1497
1497
      if (item->result_type() != STRING_RESULT)
1503
1503
                              (Item ***) 0, &tmp_field, &def_field, 0, 0, 0, 0,
1504
1504
                              0);
1505
1505
    if (!field ||
1506
 
        !(cr_field=new Create_field(field,(item->type() == Item::FIELD_ITEM ?
 
1506
        !(cr_field=new CreateField(field,(item->type() == Item::FIELD_ITEM ?
1507
1507
                                           ((Item_field *)item)->field :
1508
1508
                                           (Field*) 0))))
1509
1509
      return(0);