1. 12 Feb, 2003 2 commits
  2. 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
  3. 10 Feb, 2003 2 commits
  4. 08 Feb, 2003 1 commit
  5. 06 Feb, 2003 1 commit
    • unknown's avatar
      A fix for new conditions being defined and upper condition not updated · 82281dff
      unknown authored
      
      mysql-test/r/type_datetime.result:
        result for datetime fix
      mysql-test/t/type_datetime.test:
        test for datetime fix
      sql/sql_select.cc:
        Fix for a bug caused implicitely by MySQL having to comply with 
        ODBC standard on datetime comparisons.
        
        This failed to update used_tables() for OR condition, which is why
        query returned all rows on query as in .test above, while
        none of types contains NULL nor 0 datetime (last one from ODBC)
      82281dff
  6. 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
  7. 04 Feb, 2003 2 commits
  8. 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
  9. 28 Jan, 2003 2 commits
  10. 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
  11. 24 Jan, 2003 2 commits
  12. 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
  13. 21 Jan, 2003 6 commits
  14. 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
  15. 18 Jan, 2003 4 commits
  16. 17 Jan, 2003 2 commits