~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Stewart Smith
  • Date: 2010-07-27 00:49:32 UTC
  • mto: (1720.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1721.
  • Revision ID: stewart@flamingspork.com-20100727004932-basq3vx9szmmbswm
fix storing and manipulating foreign keys in the proto around ALTER TABLE, CREATE TABLE and ALTER TABLE ADD/DROP FOREIGN KEY. We also (mostly) emulate the naming of innodb foreign keys in the upper layer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3473
3473
        while ((table_name = dict_get_first_table_name_in_db(name))) {
3474
3474
                ut_a(memcmp(table_name, name, namelen) == 0);
3475
3475
 
 
3476
                // For the time being I would like to see how often we see
 
3477
                // lost temporary tables. --Brian
 
3478
                fprintf(stderr, "Dropping lost temporary table %s\n", table_name);
 
3479
 
3476
3480
                table = dict_table_get_low(table_name);
3477
3481
 
3478
3482
                ut_a(table);