1. 23 Sep, 2005 1 commit
    • unknown's avatar
      Bug#9112 - Merge table with composite index producing invalid results with some queries · 674c8165
      unknown authored
      The problem was an ab-use of last_rkey_length.
      Formerly we saved the packed key length (of the search key)
      in this element. But in certain cases it got replaced by 
      the (packed) result key length.
      Now we use a new element of MI_INFO to save the packed key 
      length of the search key.
      
      
      myisam/mi_dbug.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Fixed the recognition of NULL values in _mi_print_key().
      myisam/mi_rkey.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Saved the packed key length in a new element of MI_INFO.
      myisam/mi_search.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Added a comment and trace prints.
      myisam/myisamdef.h:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Added a new element to store the packed key length
        for use by the MyISAMMRG engine.
      myisammrg/myrg_rkey.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Changed to use the new element of MI_INFO to get at the
        packed key length.
      mysql-test/r/merge.result:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        The test result.
      mysql-test/t/merge.test:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        The test case.
      674c8165
  2. 19 Sep, 2005 1 commit
  3. 18 Sep, 2005 1 commit
  4. 15 Sep, 2005 1 commit
    • unknown's avatar
      Turn off EOLN_NATIVE flag for all test files · 900645b8
      unknown authored
      Ignored some generated files
      
      
      mysql-test/t/analyze.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ansi-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ansi.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/backup-master.sh:
        Turn off EOLN_NATIVE flag
      mysql-test/t/bdb-alter-table-2-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/bdb-deadlock.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/bdb_cache-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/bdb_cache.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/bool.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/cast.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/constraints.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/convert.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/create_select_tmp.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_cp1251-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_cp1251.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_latin1_de-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_latin1_de.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_tis620-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_tis620.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_ujis-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_ujis.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/drop_temp_table.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/flush_block_commit.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_concat.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_encrypt-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_if.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_isnull.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/gcc296.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/grant.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/grant_cache-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/grant_cache.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/init_file-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/init_file.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/innodb-deadlock.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/innodb-lock.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/innodb_cache-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/innodb_cache.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/innodb_handler.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/isam.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/loaddata.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lock_multi.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lock_tables_lost_commit-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lock_tables_lost_commit.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table2.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table3-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table3.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/mix_innodb_myisam_binlog-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/multi_update-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/myisam-blob-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/myisam-blob.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/mysqlbinlog-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/mysqlbinlog.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/mysqldump.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/packet.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/query_cache.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/query_cache_merge.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/query_cache_notembedded.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/repair.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/repair_part2-master.sh:
        Turn off EOLN_NATIVE flag
      mysql-test/t/repair_part2.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl000016-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_EE_error.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_alter.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_chain_temp_table.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_change_master.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_commit_after_flush.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_do_grant.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_drop.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_empty_master_crash.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_error_ignored_table-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_error_ignored_table.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_failsafe.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_flush_log_loop-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_flush_log_loop-master.sh:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_flush_log_loop-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_flush_log_loop-slave.sh:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_flush_log_loop.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_free_items-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_free_items.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_get_lock.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_heap.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_ignore_grant-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_ignore_grant.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_insert_id.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddata.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddata_rule_m-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddata_rule_m.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddata_rule_s-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddata_rule_s.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddatalocal.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_log-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_log-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_master_pos_wait.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_max_relay_size.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_multi_delete-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_multi_delete.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_multi_delete2-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_multi_delete2.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_multi_update.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_multi_update2-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_multi_update2.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_optimize.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_relayspace-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_relayspace.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_reset_slave.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_server_id1.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_server_id2-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_server_id2.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_set_charset.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_skip_error-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_skip_error.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_start_stop_slave.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_trunc_binlog.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/system_mysql_db.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/system_mysql_db_fix-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/system_mysql_db_fix.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/system_mysql_db_refs.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/timezone-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/timezone.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/timezone3-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/timezone3.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/type_set.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/variables-master.opt:
        Turn off EOLN_NATIVE flag
      BitKeeper/etc/ignore:
        added support-files/MacOSX/preflight
      900645b8
  5. 14 Sep, 2005 1 commit
  6. 13 Sep, 2005 1 commit
  7. 12 Sep, 2005 2 commits
  8. 08 Sep, 2005 3 commits
  9. 07 Sep, 2005 1 commit
  10. 06 Sep, 2005 2 commits
  11. 02 Sep, 2005 3 commits
  12. 01 Sep, 2005 2 commits
  13. 31 Aug, 2005 1 commit
  14. 30 Aug, 2005 2 commits
    • unknown's avatar
      Fixes bug #5588. vio_was_interrupted() function was added to detect · a8a5e98e
      unknown authored
      read timeout properly on win32.
      
      
      include/my_global.h:
        Added win32 specific socket timeout error code.
      include/violite.h:
        Added vio_was_interrupted function that returns true if operation was
        not completed due to timeout.
      sql/mini_client.cc:
        added a check that replication read was not completed due to timeout.
      sql/net_serv.cc:
        net->last_errno should be equal to ER_NET_READ_INTERRUPTED in case if read
        operation was not completed due to timeout.
      vio/vio.c:
        added initialization code for vio_was_interrupted() function.
      vio/viosocket.c:
        Added vio_was_interrupted function that returns true if operation was
        not completed due to timeout.
      a8a5e98e
    • unknown's avatar
      fulltext_var.result: · 67278665
      unknown authored
        Update test result.
      
      
      mysql-test/r/fulltext_var.result:
        Update test result.
      67278665
  15. 29 Aug, 2005 2 commits
  16. 28 Aug, 2005 4 commits
    • unknown's avatar
      Makefile.am: · f658a7a7
      unknown authored
        Make ports configurable from environment for test
      
      
      Makefile.am:
        Make ports configurable from environment for test
      f658a7a7
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.0 · c0b511ea
      unknown authored
      into  frost.snake.net:/Volumes/frost2/MySQL/bk/mysql-4.0
      
      
      sql/mysqld.cc:
        Auto merged
      c0b511ea
    • unknown's avatar
      mysqld.cc: · fefb444c
      unknown authored
        Reorder out-of-order status variables.
      
      
      sql/mysqld.cc:
        Reorder out-of-order status variables.
      fefb444c
    • unknown's avatar
      set_var.cc: · 5aa1b53f
      unknown authored
        Reorder out-of-order system variables.
      
      
      sql/set_var.cc:
        Reorder out-of-order system variables.
      5aa1b53f
  17. 24 Aug, 2005 2 commits
    • unknown's avatar
      Several fixes for Netware. · 97dbe8db
      unknown authored
      
      client/client_priv.h:
        Added option auto close for Netware.
      client/mysql.cc:
        Added option auto close for Netware.
      client/mysqladmin.c:
        Added option auto close for Netware.
      client/mysqlbinlog.cc:
        Added option auto close for Netware.
      client/mysqlcheck.c:
        Added option auto close for Netware.
      client/mysqldump.c:
        Added option auto close for Netware.
      client/mysqlimport.c:
        Added option auto close for Netware.
      client/mysqlshow.c:
        Added option auto close for Netware.
      client/mysqltest.c:
        Fixed help messages for Netware.
      extra/my_print_defaults.c:
        Fixed help messages for Netware.
      extra/perror.c:
        Fixed help messages for Netware.
      extra/resolve_stack_dump.c:
        Fixed help messages for Netware.
      include/help_end.h:
        Fixed help messages for Netware.
      include/help_start.h:
        Fixed help messages for Netware.
      isam/isamchk.c:
        Added auto close of window for Netware
      isam/pack_isam.c:
        Added auto close of window for Netware
      myisam/myisamchk.c:
        Added auto close of window for Netware
      myisam/myisamlog.c:
        Added help for Netware.
      myisam/myisampack.c:
        Added auto close for Netware.
      netware/myisamchk.def:
        Scrollable screen patch.
      netware/mysql.def:
        Scrollable screen patch.
      netware/mysql_test_run.c:
        Fixed strindex for Netware.
      netware/mysqladmin.def:
        Scrollable screen patch.
      netware/mysqlbinlog.def:
        Scrollable screen patch.
      netware/mysqlcheck.def:
        Scrollable screen patch.
      netware/mysqld_safe.c:
        Removed debug message for Netware.
      netware/mysqldump.def:
        Scrollable screen patch.
      netware/mysqlimport.def:
        Scrollable screen patch.
      netware/mysqlshow.def:
        Scrollable screen patch.
      sql/mysqld.cc:
        Abnormal end patch when shutting down and volume not ready.
      97dbe8db
    • unknown's avatar
      ha_innodb.cc: · 4c76d94f
      unknown authored
        Fix bug #12779 : never give a row count estimate of 0 to the MySQL query optimizer, as then left join optimizer may beleive it KNOWS that the table is empty; note that this fix may change query optimization of many other queries where one table is empty; note that the proper fix would be to make the query optimizer to know that the row count estimates it receives really are just estimates, it cannot assume they are certain
      
      
      sql/ha_innodb.cc:
        Fix bug #12779 : never give a row count estimate of 0 to the MySQL query optimizer, as then left join optimizer may beleive it KNOWS that the table is empty; note that this fix may change query optimization of many other queries where one table is empty; note that the proper fix would be to make the query optimizer to know that the row count estimates it receives really are just estimates, it cannot assume they are certain
      4c76d94f
  18. 18 Aug, 2005 1 commit
  19. 12 Aug, 2005 1 commit
  20. 11 Aug, 2005 4 commits
    • unknown's avatar
      - another comment typo fixed · e11a23a8
      unknown authored
      e11a23a8
    • unknown's avatar
      - Fix for BUG#11380 (as recommened by JimW): renamed the preinstall/postinstall scripts to · ed0d295e
      unknown authored
        preflight/postflight instead, so they are run every time a PKG is installed, not only for
        a fresh installation
      
      
      support-files/MacOSX/Makefile.am:
        - Fix for BUG#11380 (as recommened by JimW): renamed the preinstall/postinstall scripts to
          preflight/postflight instead, so they are run every time, not only for a fresh installation
      support-files/MacOSX/postflight.sh:
        - Fix for BUG#11380 (as recommened by JimW): renamed the preinstall/postinstall scripts to
          preflight/postflight instead, so they are run every time, not only for a fresh installation
      support-files/MacOSX/preflight.sh:
        - Fix for BUG#11380 (as recommened by JimW): renamed the preinstall/postinstall scripts to
          preflight/postflight instead, so they are run every time, not only for a fresh installation
        - fixed comment typo
      ed0d295e
    • unknown's avatar
      - Make sure the Mac OS X support files are built, but not installed by "make install" (the previous · 8c5e6af5
      unknown authored
        change was too drastic) (BUG#12506)
      
      
      support-files/Makefile.am:
        - make sure that the RPM spec files are built, but not installed by "make install"
      8c5e6af5
    • unknown's avatar
      make the same filenames as in 4.1 · a724dbc0
      unknown authored
      
      mysql-test/t/query_cache_notembedded.test:
        Rename: mysql-test/t/query_cache_noembeded.test -> mysql-test/t/query_cache_notembedded.test
      mysql-test/r/query_cache_notembedded.result:
        Rename: mysql-test/r/query_cache_noembeded.result -> mysql-test/r/query_cache_notembedded.result
      a724dbc0
  21. 10 Aug, 2005 1 commit
    • unknown's avatar
      block using QC in case of having tables locked by LOCK... (BUG#12385) · 307ed9b4
      unknown authored
      
      sql/sql_cache.cc:
        block QC using if tables are locked with LOCK
        unlock QC
      mysql-test/r/query_cache_noembeded.result:
        New BitKeeper file ``mysql-test/r/query_cache_noembeded.result''
      mysql-test/t/query_cache_noembeded.test:
        New BitKeeper file ``mysql-test/t/query_cache_noembeded.test''
      307ed9b4
  22. 04 Aug, 2005 3 commits