1. 30 Aug, 2005 1 commit
    • 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
  2. 28 Aug, 2005 1 commit
    • 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
  3. 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
  4. 18 Aug, 2005 1 commit
  5. 12 Aug, 2005 1 commit
  6. 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
  7. 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
  8. 04 Aug, 2005 5 commits
  9. 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
  10. 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
  11. 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
  12. 28 Jul, 2005 2 commits
  13. 27 Jul, 2005 2 commits
  14. 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
  15. 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
  16. 22 Jul, 2005 3 commits
  17. 21 Jul, 2005 2 commits
  18. 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
  19. 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
  20. 15 Jul, 2005 1 commit
    • unknown's avatar
      RPM spec file improvements: · 5c27ff06
      unknown authored
      - create a "mysql" user group and assign the mysql user account to that group
        in the server postinstall section. (BUG 10984)
      - backported some changes from the 4.1 RPM spec file (cleanups: removed the incomplete
        Brazilian translations, more consequent use of macros)
      
      
      support-files/mysql.spec.sh:
        - create a "mysql" user group and assign the mysql user account to that group
          in the server postinstall section. (BUG 10984)
        - backported some changes from the 4.1 RPM spec file (cleanups: removed the incomplete
          Brazilian translations, more consequent use of macros)
      5c27ff06
  21. 14 Jul, 2005 1 commit
    • unknown's avatar
      BUG#11384 drop database causes mysqld to core · 7f8b2334
      unknown authored
      Only reproducable in 5.1-wl2325, although the missing code is missing from 4.0 and up.
      
      
      sql/slave.cc:
        Clean up after slave sql thread when exiting.
        
        Wasn't calling close_thread_tables().
        
        This was causing a crashing bug in the 5.1-wl2325 tree. It is conceivable that this
        could cause a problem in earlier versions, but we have not been able to reproduce.
      7f8b2334
  22. 06 Jul, 2005 1 commit
    • unknown's avatar
      - backported a change for make_binary_distribution.sh from 5.0 for easier building of · 2a04d155
      unknown authored
        all versions: added an option "--machine" that allows to override the autodetected
        architecture string (e.g. "i386") that becomes part of the binary package name with 
        a different one
      - moved the removal of the BASE directory to the end of the make_binary_distribution
        script
      
      
      scripts/make_binary_distribution.sh:
        - backported and fixed a change from 5.0 for easier building of all versions: added an
          option "--machine" that allows to override the autodetected architecture string 
          (e.g. "i386") that becomes part of the binary package name with a different one
        - moved the removal of the BASE directory to the end of the script
      2a04d155
  23. 05 Jul, 2005 1 commit
  24. 04 Jul, 2005 1 commit