~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_db.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:
600
600
      error= -1;
601
601
      goto exit;
602
602
    }
603
 
    push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_NOTE,
 
603
    push_warning_printf(thd, DRIZZLE_ERROR::WARN_LEVEL_NOTE,
604
604
                        ER_DB_CREATE_EXISTS, ER(ER_DB_CREATE_EXISTS), db);
605
605
    if (!silent)
606
606
      my_ok(thd);
852
852
      goto exit;
853
853
    }
854
854
    else
855
 
      push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_NOTE,
 
855
      push_warning_printf(thd, DRIZZLE_ERROR::WARN_LEVEL_NOTE,
856
856
                          ER_DB_DROP_EXISTS, ER(ER_DB_DROP_EXISTS), db);
857
857
  }
858
858
  else
1373
1373
    {
1374
1374
      /* Throw a warning and free new_db_file_name. */
1375
1375
 
1376
 
      push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_NOTE,
 
1376
      push_warning_printf(thd, DRIZZLE_ERROR::WARN_LEVEL_NOTE,
1377
1377
                          ER_BAD_DB_ERROR, ER(ER_BAD_DB_ERROR),
1378
1378
                          new_db_file_name.str);
1379
1379