1. 03 Mar, 2003 1 commit
    • unknown's avatar
      Fixed a deadlock problem when using LOCK TABLE in one thread and DROP TABLE in another · 374ea106
      unknown authored
      
      sql/lock.cc:
        Added functions to handle list of table name locks
      sql/mysql_priv.h:
        Added functions to handle list of named locks
      sql/sql_rename.cc:
        Use new general table name lock functions
      sql/sql_table.cc:
        Require table name locks when doing drop table.
        This fixed a deadlock problem when using LOCK TABLE in one thread and DROP TABLE in another
      374ea106
  2. 28 Feb, 2003 3 commits
  3. 26 Feb, 2003 2 commits
  4. 25 Feb, 2003 3 commits
    • unknown's avatar
      change 'slave-master-info.opt' to .slave-mi to avoid problems with long filenames on some OS · 21f2382b
      unknown authored
      
      mysql-test/t/rpl_rotate_logs.slave-mi:
        Rename: mysql-test/t/rpl_rotate_logs-slave-master-info.opt -> mysql-test/t/rpl_rotate_logs.slave-mi
      mysql-test/t/rpl000015.slave-mi:
        Rename: mysql-test/t/rpl000015-slave-master-info.opt -> mysql-test/t/rpl000015.slave-mi
      21f2382b
    • unknown's avatar
      Fixed "syntax" errors in text message files. · 0d3b0c39
      unknown authored
      Ensured that all errors messages ends with: ",
      
      
      sql/share/czech/errmsg.txt:
        Fixed new line terminations
      sql/share/danish/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/dutch/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/english/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/estonian/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/french/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/german/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/greek/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/hungarian/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/italian/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/japanese/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/korean/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/norwegian-ny/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/norwegian/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/polish/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/portuguese/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/romanian/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/russian/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/slovak/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/spanish/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/swedish/errmsg.txt:
        Fixed "syntax" errors.
      sql/share/ukrainian/errmsg.txt:
        Fixed "syntax" errors.
      0d3b0c39
    • unknown's avatar
      Indentation cleanup · cf417ede
      unknown authored
      cf417ede
  5. 21 Feb, 2003 1 commit
    • unknown's avatar
      ibuf0ibuf.c: · 283a8a16
      unknown authored
        Add diagnostic prints if insert buffer merge is tried to a page whose type is not an index page, try to recover from the situation by discarding the insert buffer records
      
      
      innobase/ibuf/ibuf0ibuf.c:
        Add diagnostic prints if insert buffer merge is tried to a page whose type is not an index page, try to recover from the situation by discarding the insert buffer records
      283a8a16
  6. 19 Feb, 2003 1 commit
  7. 18 Feb, 2003 2 commits
  8. 16 Feb, 2003 1 commit
  9. 14 Feb, 2003 1 commit
  10. 12 Feb, 2003 2 commits
  11. 11 Feb, 2003 1 commit
    • unknown's avatar
      backporting Peter's fix for better RAND() initialization from 4.0 · 02132f55
      unknown authored
      
      sql/sql_class.cc:
        backporting Peter's fix for better RAND() initialization from 4.0
        to see what it does try
        perl -e 'while($N=shift) { printf "N=%-10d",$N; @b=@c=(); for (1..$N) { @A=split(" ",`mysql -BNe "select rand(), rand(), rand(), rand()"`); for(0..3) { $b[$_]+=$a[$_]; $c[$_]+=$a[$_]*$a[$_]; }} for (0..3) { printf "%15.14f ",($c[$_]-$b[$_]*$b[$_]/$N)/$N } print "\n" }' 10 10 10 100 100 10 100 1000
        before and after the fix
      02132f55
  12. 10 Feb, 2003 1 commit
  13. 05 Feb, 2003 3 commits
    • unknown's avatar
      Small enhancements for Do-compile: · 98b953fd
      unknown authored
       - add version number to build log files (e.g. Logs/build-4.1-standard.log)
       - add host name and uname to Subject line of build failure mails
         (e.g. "Subject: build(Linux): mysql-4.1-standard compilation failed")
      
       -> Please merge with all other trees!
      
      
      Build-tools/Do-compile:
        Small enhancements:
         - add version number to build log files (e.g. Logs/build-4.1-standard.log)
         - add host name and uname to Subject line of build failure mails
           (e.g. "Subject: build(Linux): mysql-4.1-standard compilation failed")
      98b953fd
    • unknown's avatar
      - added word of warning about providing the password as cleartext using · b7318885
      unknown authored
         the --password parameter (better add it to my.cnf instead) (Thanks to
         Christian Hammers for the suggestion)
      
      
      scripts/mysqlhotcopy.sh:
         - added word of warning about providing the password as cleartext using
           the --password parameter (better add it to my.cnf instead)
      b7318885
    • unknown's avatar
      - Yves mail address does not seem to be valid anymore - changed mail · 9160f2cb
      unknown authored
         address to report bugs to bugs@mysql.com (thanks to Christian Hammers
         for pointing this out) - please merge this into all other trees!
      
      
      scripts/mysqlaccess.sh:
         - Yves mail address does not seem to be valid anymore - changed mail
           address to report bugs to bugs@mysql.com (thanks to Christian Hammers
           for pointing this out)
      9160f2cb
  14. 04 Feb, 2003 2 commits
  15. 29 Jan, 2003 3 commits
    • unknown's avatar
    • unknown's avatar
      Fixed handling of lower_case_table_names in SHOW TABLE STATUS,... · bdfa5497
      unknown authored
      Fixed handling of lower_case_table_names in SHOW TABLE STATUS, mysql_list_fields() and mysql_table_dump().
      This fixes some Errcode 13 errors on Windows when deleting tables.
      
      
      
      sql/mysql_priv.h:
        Moved lower case conversion of database names to check_db_name()
      sql/mysqld.cc:
        Fix to be able to use 4.0 error message files
      sql/sql_db.cc:
        Moved lower case conversion of database names to check_db_name()
      sql/sql_parse.cc:
        Moved lower case conversion of database names to check_db_name()
        Added checking of lower_case_table_names for mysql_table_dump() and
        mysql_list_fields()
      sql/sql_show.cc:
        Moved lower case conversion of database names to check_db_name()
      sql/table.cc:
        Convert database names to lower case in check_db-name() if --lower-case-table-names is used.
      bdfa5497
    • unknown's avatar
      fixed functions to be able work with group function as argument · cec5bc1d
      unknown authored
      made bisone 1.75 compatible code
      
      
      mysql-test/r/group_by.result:
        test of function with agregate function inside
      mysql-test/t/group_by.test:
        test of function with agregate function inside
      sql/item_cmpfunc.cc:
        fixed functions to be able work with group function as argument
      sql/item_cmpfunc.h:
        fixed functions to be able work with group function as argument
      sql/item_func.cc:
        fixed functions to be able work with group function as argument
      sql/item_func.h:
        fixed functions to be able work with group function as argument
      sql/item_strfunc.cc:
        fixed functions to be able work with group function as argument
      sql/item_strfunc.h:
        fixed functions to be able work with group function as argument
      sql/sql_yacc.yy:
        made bisone 1.75 compatible code
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      cec5bc1d
  16. 28 Jan, 2003 2 commits
  17. 27 Jan, 2003 3 commits
    • unknown's avatar
      btr0cur.c: · 8d25a3fd
      unknown authored
        Backport from 4.0: Fix a major bug in InnoDB query estimator for queries of type SELECT ... WHERE col < x and SELECT ... WHERE col > x; MySQL could pick a table scan though the result set was only a few rows in a big table
      
      
      innobase/btr/btr0cur.c:
        Backport from 4.0: Fix a major bug in InnoDB query estimator for queries of type SELECT ... WHERE col < x and SELECT ... WHERE col > x; MySQL could pick a table scan though the result set was only a few rows in a big table
      8d25a3fd
    • unknown's avatar
      - replaced manual.texi with a dummy placeholder file (manual.texi is · 933e2008
      unknown authored
         now maintained in a separate "mysqldoc" BK source tree) - it will be
         replaced with the correct manual.texi when building the official
         source distribution
       - fixed automake error about reservedwords.texi by moving it to EXTRA_DIST
         instead
      
      
      Docs/Makefile.am:
         - moved reservedwords.texi from info_TEXINFOS to EXTRA_DIST since it is
           not a full-featured texi file and automake would complain about
           "missing @setfilename"
      Docs/manual.texi:
         - replaced manual.texi with a dummy placeholder file (manual.texi is
           now maintained in a separate "mysqldoc" BK source tree) - it will be
           replaced with the correct manual.texi when building the official
           source distribution
      933e2008
    • unknown's avatar
      - added a dummy file "reservedwords.texi" to the BK tree and the Makefiles, · c67dcb4b
      unknown authored
         so it's part of the distribution (manual.texi includes this file)
         It will be replaced with the correct one from the mysqldoc tree before
         building the distribution
       - removed generation and inclusion of MIRRORS file, since the mirror list
         is no longer part of manual.texi anyway
       - replaced YFLAGS with AM_YFLAGS in sql/Makefile.am to make automake happy
       - Redirect standard error when checking for dpkg-architecture in ltconfig
         to avoid error message showing during configuration
      
      
      Docs/Makefile.am:
         - added reservedwords.texi (which gets included by manual.texi)
         - removed MIRRORS (mirror list is not part of the manual anymore)
      Docs/reservedwords.texi:
         - Updated wording a bit after adding it to the tree
      Makefile.am:
         - removed MIRRORS from EXTRA_DIST (it's not part of the manual anymore)
      ltconfig:
         - Redirect standard error when checking for dpkg-architecture
           to avoid error message showing during configuration (thanks to
           John Wythe for the patch)
      sql/Makefile.am:
         - replaced YFLAGS with AM_YFLAGS to make automake happy
      c67dcb4b
  18. 24 Jan, 2003 2 commits
  19. 23 Jan, 2003 4 commits
    • unknown's avatar
      - bump up version number 3.23.55 -> 3.23.56 in configure.in · cdddf6c0
      unknown authored
       - tagged ChangeSet 1.1315 as "mysql-3.23.55"
      
      
      configure.in:
         - bump up version number 3.23.55 -> 3.23.56
      cdddf6c0
    • unknown's avatar
      - merge relevant Do-compile changes from 4.0 tree · 787a2d4e
      unknown authored
       - use "gnutar" on Mac OS X to build the binary distribution
      
      
      Build-tools/Do-compile:
         - merged relevevant changes from 4.0 (Options no-mysqltest, no-benchmark,
           log_timestamp function)
      scripts/make_binary_distribution.sh:
         - make sure to use "gnutar" (on Mac OS X) to pack up the binary distribution
           (Mac OS X "tar" seems to be buggy - the resulting tarballs appear to be
           corrupted, e.g. when opening them with Midnight Commander. GNU tar seems
           to extract them correctly, though)
      787a2d4e
    • unknown's avatar
      - reverted previous patch ("make distclean" tried to clean libmysql_r · bb0d32de
      unknown authored
         twice, if --enabable-thread-safe-client is enabled, which broke RPM
         building)
      
      
      Makefile.am:
         - reverted previous patch and removed libmysql_r from SUBDIRS again
           (it will automatically be added when --enable-thread-safe-client is
           used)
      bb0d32de
    • unknown's avatar
      small fix for SHOW STATUS · 7109e0e5
      unknown authored
      7109e0e5
  20. 21 Jan, 2003 2 commits