1. 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
  2. 10 Feb, 2003 1 commit
  3. 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
  4. 04 Feb, 2003 2 commits
  5. 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
  6. 28 Jan, 2003 2 commits
  7. 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
  8. 24 Jan, 2003 2 commits
  9. 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
  10. 21 Jan, 2003 6 commits
  11. 20 Jan, 2003 2 commits
    • unknown's avatar
      ha_innobase.cc: · c0dd9d0a
      unknown authored
        Backport from 4.0: convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
      
      
      sql/ha_innobase.cc:
        Backport from 4.0: convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
      c0dd9d0a
    • unknown's avatar
      os0file.c: · fb466c17
      unknown authored
        Fix an assertion about ERROR_LOCK_VIOLATION 33 in file write if InnoDB Hot Backup is run concurrently with mysqld in Windows
      
      
      innobase/os/os0file.c:
        Fix an assertion about ERROR_LOCK_VIOLATION 33 in file write if InnoDB Hot Backup is run concurrently with mysqld in Windows
      fb466c17
  12. 18 Jan, 2003 4 commits
  13. 17 Jan, 2003 3 commits
  14. 16 Jan, 2003 1 commit
  15. 15 Jan, 2003 2 commits
    • unknown's avatar
      btr0btr.h, btr0btr.c, row0purge.c: · cb460d38
      unknown authored
        Backport from 4.0: fix the BLOB hang if the index tree is of height 1
      
      
      innobase/row/row0purge.c:
        Backport from 4.0: fix the BLOB hang if the index tree is of height 1
      innobase/btr/btr0btr.c:
        Backport from 4.0: fix the BLOB hang if the index tree is of height 1
      innobase/include/btr0btr.h:
        Backport from 4.0: fix the BLOB hang if the index tree is of height 1
      cb460d38
    • unknown's avatar
      ha_innobase.cc: · b96140fe
      unknown authored
        Backport from 4.0: fix possible adaprive hash index latch hang
      
      
      sql/ha_innobase.cc:
        Backport from 4.0: fix possible adaprive hash index latch hang
      b96140fe
  16. 09 Jan, 2003 1 commit