~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Brian Aker
  • Date: 2010-10-24 01:34:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1875.
  • Revision ID: brian@tangent.org-20101024013439-w9r8qtmt5ihnqtkd
Encapsulate table_name from table_list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1504
1504
      create_info->table_existed= 1;            // Mark that table existed
1505
1505
      push_warning_printf(session, DRIZZLE_ERROR::WARN_LEVEL_NOTE,
1506
1506
                          ER_TABLE_EXISTS_ERROR, ER(ER_TABLE_EXISTS_ERROR),
1507
 
                          create_table->table_name);
 
1507
                          create_table->getTableName());
1508
1508
      return create_table->table;
1509
1509
    }
1510
1510
 
1511
 
    my_error(ER_TABLE_EXISTS_ERROR, MYF(0), create_table->table_name);
 
1511
    my_error(ER_TABLE_EXISTS_ERROR, MYF(0), create_table->getTableName());
1512
1512
    return NULL;
1513
1513
  }
1514
1514
 
1593
1593
          or it was created via different mysqld front-end to the
1594
1594
          cluster. We don't have much options but throw an error.
1595
1595
        */
1596
 
        my_error(ER_TABLE_EXISTS_ERROR, MYF(0), create_table->table_name);
 
1596
        my_error(ER_TABLE_EXISTS_ERROR, MYF(0), create_table->getTableName());
1597
1597
        return NULL;
1598
1598
      }
1599
1599