~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/row/row0mysql.c

  • Committer: Stewart Smith
  • Date: 2009-01-30 06:16:09 UTC
  • mfrom: (813.3.4 for-brian)
  • mto: (859.1.1 nofrm)
  • mto: This revision was merged to the branch mainline in revision 822.
  • Revision ID: stewart@flamingspork.com-20090130061609-4ocqhq8qj08e4656
merge other work

Show diffs side-by-side

added added

removed removed

Lines of Context:
3605
3605
        table = dict_table_get_low(old_name);
3606
3606
 
3607
3607
        if (!table) {
3608
 
                err = DB_TABLE_NOT_FOUND;
3609
 
                ut_print_timestamp(stderr);
3610
 
 
3611
 
                fputs("  InnoDB: Error: table ", stderr);
3612
 
                ut_print_name(stderr, trx, TRUE, old_name);
3613
 
                fputs(" does not exist in the InnoDB internal\n"
3614
 
                      "InnoDB: data dictionary though MySQL is"
3615
 
                      " trying to rename the table.\n"
3616
 
                      "InnoDB: Have you copied the .frm file"
3617
 
                      " of the table to the\n"
3618
 
                      "InnoDB: MySQL database directory"
3619
 
                      " from another database?\n"
3620
 
                      "InnoDB: You can look for further help from\n"
3621
 
                      "InnoDB: http://dev.mysql.com/doc/refman/5.1/en/"
3622
 
                      "innodb-troubleshooting.html\n",
3623
 
                      stderr);
 
3608
                err= ENOENT;
3624
3609
                goto funct_exit;
3625
3610
        } else if (table->ibd_file_missing) {
3626
3611
                err = DB_TABLE_NOT_FOUND;