1. 14 Jun, 2007 4 commits
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.1-engines · 5a2a4bc2
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG26976/mysql-5.1-engines
      
      5a2a4bc2
    • unknown's avatar
      Bug#26402 Server crashes with old-style named table · ffe7c34e
      unknown authored
        Problem: crash on attempt to open a table
        having "#mysql50#" prefix in db or table name.
        Fix: This prefix is reserved for "mysql_upgrade"
        to access 5.0 tables  whose file names are not encoded
        according to "5.1 tablename to filename encoded".
        Don't try open tables whose db name or table name
        has this prefix.
      
      
      mysql-test/r/show_check.result:
        Adding test case.
      mysql-test/t/show_check.test:
        Adding test case.
      sql/mysql_priv.h:
        Moving 5.0 prefix declarations into mysql_priv.h
      sql/sql_table.cc:
        Moving 5.0 prefix declarations into mysql_priv.h
      sql/table.cc:
        Don't try to do "normal" open of tables having '#mysql50#' prefix in
        db or table name. This prefix is reserved to access to unencoded
        table names when upgrading from 5.0 to 5.1.
      ffe7c34e
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG26976/mysql-5.0-engines · be364e21
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG26976/mysql-5.1-engines
      
      
      mysql-test/r/merge.result:
        Auto merged
      storage/myisammrg/ha_myisammrg.cc:
        Auto merged
      be364e21
    • unknown's avatar
      BUG#26976 - Missing table in merge not noted in related error msg + · 772a2ed5
      unknown authored
                  SHOW CREATE TABLE fails
      Addition to the fix: report db name + table name instead of table path.
      This solves embedded merge test failure.
      
      
      mysql-test/r/merge.result:
        BUG#26976 - Missing table in merge not noted in related error msg +
                    SHOW CREATE TABLE fails
        Addition to the fix: report db name + table name instead of table path.
      sql/ha_myisammrg.cc:
        BUG#26976 - Missing table in merge not noted in related error msg +
                    SHOW CREATE TABLE fails
        Addition to the fix: report db name + table name instead of table path.
      772a2ed5
  2. 08 Jun, 2007 1 commit
    • unknown's avatar
      BUG#26976 - Missing table in merge not noted in related error msg + · a2b0edaa
      unknown authored
                  SHOW CREATE TABLE fails
      
      After merge fixes.
      
      
      mysql-test/r/backup.result:
        Fixed test result.
      mysql-test/r/sp.result:
        Fixed test result.
      sql/sql_table.cc:
        Fixed wrongly merged line. Moved "deprecated" warnings from sql_yacc.yy
        to mysql_backup_tables/mysql_restore_table.
      sql/sql_yacc.yy:
        Moved "deprecated" warnings from sql_yacc.yy to
        mysql_backup_tables/mysql_restore_table.
      storage/myisam/ha_myisam.cc:
        Do not report the same error twice.
      storage/myisammrg/ha_myisammrg.cc:
        Removed wrongly merged line.
      a2b0edaa
  3. 07 Jun, 2007 2 commits
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG26976/mysql-5.0-engines · 357cee4b
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG26976/mysql-5.1-engines
      
      
      mysql-test/r/key_cache.result:
        Auto merged
      mysql-test/r/lock.result:
        Auto merged
      mysql-test/r/merge.result:
        Auto merged
      mysql-test/r/preload.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/repair.result:
        Auto merged
      mysql-test/r/rpl_failed_optimize.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/merge.test:
        Auto merged
      storage/myisammrg/myrg_def.h:
        Auto merged
      storage/myisammrg/myrg_open.c:
        Auto merged
      mysql-test/r/backup.result:
        Use local.
      mysql-test/r/sp.result:
        Use local.
      sql/sql_error.cc:
        Use local.
      sql/sql_error.h:
        Use local.
      sql/share/errmsg.txt:
        Manual merge.
      sql/sql_table.cc:
        Manual merge.
      storage/myisam/ha_myisam.cc:
        Manual merge.
      storage/myisammrg/ha_myisammrg.cc:
        Manual merge.
      storage/myisammrg/ha_myisammrg.h:
        Manual merge.
      357cee4b
    • unknown's avatar
      Merge 81.176.158.240:devel/mysql/BUG26976/mysql-5.0-engines · 3560bac9
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG26976/mysql-5.0-engines
      
      
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      3560bac9
  4. 06 Jun, 2007 8 commits
  5. 05 Jun, 2007 13 commits
    • unknown's avatar
      BUG#26976 - Missing table in merge not noted in related error msg + · 2b315dff
      unknown authored
                  SHOW CREATE TABLE fails
      
      Underlying table names, that merge engine fails to open were not
      reported.
      
      With this fix CHECK TABLE issued against merge table reports all
      underlying table names that it fails to open. Other statements
      are unaffected, that is underlying table names are not included
      into error message.
      
      This fix doesn't solve SHOW CREATE TABLE issue.
      
      
      myisammrg/myrg_def.h:
        Added myrg_print_wrong_table declaration.
      myisammrg/myrg_open.c:
        If HA_OPEN_FOR_REPAIR is passed to merge engine open function,
        report names of tables that we fail to open.
      mysql-test/r/backup.result:
        Updated test result.
      mysql-test/r/key_cache.result:
        Updated test result - removed duplicate error.
      mysql-test/r/lock.result:
        Updated test result - added summary row.
      mysql-test/r/merge.result:
        A test case for BUG#26976.
      mysql-test/r/preload.result:
        Updated test result - removed duplicate error, added summary row.
      mysql-test/r/ps.result:
        Updated test result - removed duplicate error, added summary row.
      mysql-test/r/repair.result:
        Updated test result - removed duplicate error, added summary row.
      mysql-test/r/rpl_failed_optimize.result:
        Updated test result - removed duplicate error, added summary row.
      mysql-test/r/sp.result:
        Updated test result - removed duplicate error, added summary row.
      mysql-test/r/view.result:
        Updated test result - removed duplicate error, added summary row.
      mysql-test/t/merge.test:
        A test case for BUG#26976.
      sql/ha_myisam.cc:
        Do not report same error twice.
      sql/ha_myisammrg.cc:
        If HA_OPEN_FOR_REPAIR is passed to merge engine open function,
        report names of tables that we fail to open.
        
        Added dummy ha_myisammrg::check to not confuse users with
        "not implemented" error in case all underlying tables are
        fine.
      sql/ha_myisammrg.h:
         Added ha_myisammrg::check declaration.
      sql/share/errmsg.txt:
        Added ER_ADMIN_WRONG_MRG_TABLE errno. It is used instead
        of ER_WRONG_MRG_TABLE in case HA_OPEN_FOR_REPAIR is
        passed to merge engine handler open function.
      sql/sql_error.cc:
        warning_level_* are now public. It is required by mysql_admin_table to
        report message level.
      sql/sql_error.h:
        warning_level_* are now public. It is required by mysql_admin_table to
        report message level.
      sql/sql_table.cc:
        Reorder mysql_admin_table arguments to meet it's definition.
        
        Report errors that are pending in thd->warn_list as results of
        admin function.
      2b315dff
    • unknown's avatar
      ctype-bin.c: · 0f98f03b
      unknown authored
        Post-merge fix warning
      
      
      strings/ctype-bin.c:
        Post-merge fix warning
      0f98f03b
    • unknown's avatar
      sql_prepare.cc: · e9aee315
      unknown authored
        Post-merge fix (byte -> uchar)
      
      
      sql/sql_prepare.cc:
        Post-merge fix (byte -> uchar)
      e9aee315
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/50 · 73868505
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/51
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      73868505
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1 · a04b8ee3
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/51
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      a04b8ee3
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6e6d0c31
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/50
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      6e6d0c31
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/50 · 01609990
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/51
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      01609990
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/41 · 027f7f8c
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/50
      
      027f7f8c
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-5.0-axmrg · 4e001eb2
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.1-axmrg
      
      
      sql/mysqld.cc:
        Auto merged
      4e001eb2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · db7a16d6
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.1-axmrg
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      db7a16d6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 9e56ab34
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-axmrg
      
      
      sql/mysqld.cc:
        Auto merged
      9e56ab34
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/51 · 72ba6bba
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/51
      
      
      client/mysqldump.c:
        Auto merged
      include/m_string.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      include/violite.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/include/mix1.inc:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysys/my_init.c:
        Auto merged
      server-tools/instance-manager/mysql_connection.cc:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_connect.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      strings/ctype-mb.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      strings/strtod.c:
        Auto merged
      vio/vio_priv.h:
        Auto merged
      vio/viosocket.c:
        Auto merged
      client/mysqltest.c:
        SCCS merged
      include/my_global.h:
        SCCS merged
      sql/field.h:
        SCCS merged
      sql/sql_table.cc:
        Manual merge
      strings/ctype-bin.c:
        Manual merge
      72ba6bba
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/50 · fdc8bc70
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/50
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      fdc8bc70
  6. 04 Jun, 2007 12 commits