~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Felipe
  • Date: 2008-08-04 23:58:04 UTC
  • mto: (261.2.6 codestyle)
  • mto: This revision was merged to the branch mainline in revision 263.
  • Revision ID: felipe@pena-20080804235804-x55q2xqxcar6u66f
- Renamed MYSQL_ERROR to DRIZZLE_ERROR.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1055
1055
        view= test(0);
1056
1056
      }
1057
1057
      {
1058
 
        push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
 
1058
        push_warning_printf(thd, DRIZZLE_ERROR::WARN_LEVEL_WARN,
1059
1059
                            ER_NO_DEFAULT_FOR_FIELD,
1060
1060
                            ER(ER_NO_DEFAULT_FOR_FIELD),
1061
1061
                            (*field)->field_name);
1594
1594
    if (create_info->options & HA_LEX_CREATE_IF_NOT_EXISTS)
1595
1595
    {
1596
1596
      create_info->table_existed= 1;            // Mark that table existed
1597
 
      push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_NOTE,
 
1597
      push_warning_printf(thd, DRIZZLE_ERROR::WARN_LEVEL_NOTE,
1598
1598
                          ER_TABLE_EXISTS_ERROR, ER(ER_TABLE_EXISTS_ERROR),
1599
1599
                          create_table->table_name);
1600
1600
      return(create_table->table);