1. 06 Sep, 2005 1 commit
    • unknown's avatar
      support of concurent query cache resizing (BUG#12848) · f5f896b4
      unknown authored
      
      sql/mysql_priv.h:
        initialisation moved to mysqld.cc
      sql/mysqld.cc:
        initialisation moved to mysqld.cc
      sql/sql_cache.cc:
        support of concurent query cache resizing:
              - resizing made atomic
              - check stack size after each quard mutex lock
      sql/sql_cache.h:
        initialisation moved to mysqld.cc
        removed uneed parameter (now it is always under guard mutex protection or called from destruction)
      f5f896b4
  2. 29 Aug, 2005 2 commits
  3. 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
  4. 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
  5. 18 Aug, 2005 1 commit
  6. 12 Aug, 2005 1 commit
  7. 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
  8. 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
  9. 04 Aug, 2005 5 commits
  10. 03 Aug, 2005 3 commits
    • unknown's avatar
      ha_innodb.cc: · 076c375a
      unknown authored
        Fix compilation error in previous commit
      
      
      sql/ha_innodb.cc:
        Fix compilation error in previous commit
      076c375a
    • unknown's avatar
      ha_innodb.cc: · 43b1710c
      unknown authored
        Backport of Bug #9670 to 4.0: assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED)
      
      
      sql/ha_innodb.cc:
        Backport of Bug #9670 to 4.0: assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED)
      43b1710c
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-4.0 · 7134f532
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.0.10226
      
      
      7134f532
  11. 02 Aug, 2005 1 commit
    • unknown's avatar
      BUG#11684 fix. · 451ec64d
      unknown authored
      Repair crashes mysql when table has fulltext index.
      
      
      myisam/sort.c:
        Use static ft_buf instead of dynamic mergebuf. Latter could be NULL if record has long words.
      mysql-test/r/fulltext.result:
        Test case for BUG#11684 - repair crashes mysql when table has fulltext index.
      mysql-test/t/fulltext.test:
        Test case for BUG#11684 - repair crashes mysql when table has fulltext index.
      451ec64d
  12. 01 Aug, 2005 1 commit
    • unknown's avatar
      BUG 11104 (same as changeset 1.1891 on the 5.0 tree, but realised this · 16c45930
      unknown authored
      needed to be fixed in earlier versions)
      Fixed the iteration of how substrings are handled with negative indexes in 
      SUBSTRING_INDEX
      
      
      mysql-test/r/func_str.result:
        New results for the fix to substring_index
      mysql-test/t/func_str.test:
        Added tests for fix to substring_index, various lenth search patterns. Also included
        are the queuries the user who reported the bug listed in the bug report
      sql/item_strfunc.cc:
        Fix to BUG 11104 
            Took out the offset-=delimiter_length-1 out of the for loop. It was causing
            basically this: 
            select substring_index('the king of the the hill', 'the', -2) to not work.
            The first iteration, offset would be initialised to 24, then strstr would 
            point at 'the king of the the* hill' ('*'means right before the 
            character following), returning a offset of 16. The for loop would then 
            decrement offset by two (3 - 1), to 14, now pointing at 
            "the king of th*e the hill", _skipping_ past the 'e' in the second to last
            'the', and therefore strstr would never have a chance of matching the 
            second to last 'the', then moving on to the 'the' at the begginning of the 
            string!
        
            In a nutshell, offset was being decremented by too great a value, preventing
            the second to last 'the' from being ever found, hence the result of 
            'king of the the hill' from the query that is reported in the bug report
      16c45930
  13. 28 Jul, 2005 2 commits
  14. 27 Jul, 2005 2 commits
  15. 26 Jul, 2005 1 commit
    • unknown's avatar
      Review fixes: · 90e41fac
      unknown authored
      Fixed portability problem with bool in C programs
      Moved close_thread_tables out from LOCK_thread_count mutex (safety fix)
      my_sleep() -> pthread_cond_timedwait()
      
      
      include/thr_lock.h:
        bool -> my_bool (bool is not portable in C programs)
      mysys/thr_lock.c:
        bool -> my_bool (bool is not portable in C programs)
      sql/lock.cc:
        Added comment
        Don't use | on bool variable
      sql/mysql_priv.h:
        Added comment
      sql/slave.cc:
        Moved close_thread_tables out from LOCK_thread_count mutex (safety fix)
      sql/sql_base.cc:
        Added comments
        my_sleep() -> pthread_cond_timedwait() to get less code and potentitally faster loop
      BitKeeper/etc/ignore:
        added ac_available_languages_fragment
      90e41fac
  16. 25 Jul, 2005 1 commit
    • unknown's avatar
      - Make sure the scripts make_binary_distribution, make_sharedlib_distribution and · 1f36f6f4
      unknown authored
        make_win_src_distribution are created, but not installed
      - removed make_win_binary_distribution.sh as it's obsolete and outdated
      
      
      BitKeeper/deleted/.del-make_win_binary_distribution.sh~e0fbb0a75af0dcd3:
        Delete: scripts/make_win_binary_distribution.sh
      scripts/Makefile.am:
        - Make sure the scripts make_binary_distribution, make_sharedlib_distribution and
          make_win_src_distribution are created, but not installed. This is the proper fix
          for what I began in the previous ChangeSet
        - removed make_win_binary_distribution.sh from the distribution, as it's obsolete
          and outdated
      1f36f6f4
  17. 22 Jul, 2005 3 commits
  18. 21 Jul, 2005 2 commits
  19. 20 Jul, 2005 2 commits
    • unknown's avatar
      Bug #10600 After review fixes · af1dfb61
      unknown authored
      
      sql/lock.cc:
        Used flags immediately in call
      sql/mysql_priv.h:
        Added RTFC (short for remove_table_from_cache)
        for constants and used hex syntax to clarify it is bits
        in the flags
      sql/sql_base.cc:
        Use flags parameter immediately and use flags immediately in call
        Change to other variant of eternal loop variant
      sql/sql_table.cc:
        Use flags immediately in call
      af1dfb61
    • unknown's avatar
      - don't install the Mac OS X support files when running "make install" - · d207bd81
      unknown authored
        they're not needed outside of the source tree (BUG#12057)
      - Removed some more unneeded files from "make install" along the way
      
      
      scripts/Makefile.am:
        - don't install the following files with "make install", as they are
          not needed to be installed: 
          make_win_src_distribution, make_win_binary_distribution,
          make_binary_distribution, make_sharedlib_distribution
      support-files/MacOSX/Makefile.am:
        - don't install the Mac OS X support files when running "make install" -
          they're not needed outside of the source tree (BUG#12057)
      support-files/Makefile.am:
        - don't install the RPM spec files with "make install" - they are not
          needed outside of the source tree
      d207bd81
  20. 18 Jul, 2005 1 commit
    • unknown's avatar
      Bug #10600 · 6d29b23b
      unknown authored
      remove_table_from_cache fails to signal other thread and gets
      blocked when other thread also gets blocked
      
      
      include/thr_lock.h:
        Report if any threads was signalled
      mysys/thr_lock.c:
        Report if any threads was signalled
      sql/lock.cc:
        Report if any threads was signalled
        Use new interface for remove_table_from_cache
      sql/mysql_priv.h:
        New interface for remove_table_from_cache
        + mysql_lock_abort_for_thread
      sql/sql_base.cc:
        Use new interface of remove_table_cache
        Rewrote remove_table_from_cache to fix bug
      sql/sql_table.cc:
        Use new interface of remove_table_from_cache
      6d29b23b