An error occurred fetching the project authors.
  1. 17 Dec, 2009 1 commit
    • Satya B's avatar
      Fix for Bug#37408 - Compressed MyISAM files should not require/use mmap() · 801deedc
      Satya B authored
                        
      When compressed myisam files are opened, they are always memory mapped
      sometimes causing memory swapping problems.
      
      When we mmap the myisam compressed tables of size greater than the memory 
      available, the kswapd0 process utilization is very high consuming 30-40% of 
      the cpu. This happens only with linux kernels older than 2.6.9
      
      With newer linux kernels, we don't have this problem of high cpu consumption
      and this option may not be required.
       
      The option 'myisam_mmap_size' is added to limit the amount of memory used for
      memory mapping of myisam files. This option is not dynamic.
      
      The default value on 32 bit system is 4294967295 bytes and on 64 bit system it
      is 18446744073709547520 bytes.
      
      Note: Testcase only tests the option variable. The actual bug has be to 
      tested manually.
      801deedc
  2. 17 Sep, 2009 1 commit
  3. 28 Aug, 2009 1 commit
    • Staale Smedseng's avatar
      Bug #43414 Parenthesis (and other) warnings compiling MySQL · 2217de25
      Staale Smedseng authored
      with gcc 4.3.2
            
      This patch fixes a number of GCC warnings about variables used
      before initialized. A new macro UNINIT_VAR() is introduced for
      use in the variable declaration, and LINT_INIT() usage will be
      gradually deprecated. (A workaround is used for g++, pending a
      patch for a g++ bug.)
            
      GCC warnings for unused results (attribute warn_unused_result)
      for a number of system calls (present at least in later
      Ubuntus, where the usual void cast trick doesn't work) are
      also fixed.
      2217de25
  4. 30 May, 2009 1 commit
    • Davi Arnaut's avatar
      MySQL 5.0 backport of Chad Miller's patch for Bug#34309: · 0c3439c5
      Davi Arnaut authored
      Bug#34309: '_PC' macro redefinition
      
      For reasons that are now a mystery, we had defined a CPP symbol to
      help ancient compilers work better (in some way that's lost to history).
      This interferes with at least one modern compiler.
      
      Now, don't define the _PC symbol.  Those other underscore-leading
      symbols are suspect also, but at least the names aren't inscrutable.
      Let's leave them for now.
      0c3439c5
  5. 01 May, 2009 1 commit
  6. 24 Mar, 2009 1 commit
    • Alexey Kopytov's avatar
      Fix for bug #42965: isinf() on 32bit x86 with gcc 4.3 can · 73cb9b6e
      Alexey Kopytov authored
                          produce incorrect results for ROUND() 
      
      Added a workaround and a configure check to test whether 
      isinf() is affected by the GCC bug #39228. 
             
      Since no code in MySQL server is currently affected by that 
      bug, the patch is actually a safeguard for possible future 
      code modifications. No test cases or changelog entries are 
      needed. 
      73cb9b6e
  7. 19 Mar, 2009 1 commit
    • kent.boortz@sun.com's avatar
      cmd-line-utils/libedit/readline/readline.h · 677b00fa
      kent.boortz@sun.com authored
       - Header <sys/ttydefaults.h> missing or not usable on QNX and OpenServer 6
      
      include/my_global.h
       - Moved down definition of function rint(), as for some platforms (in
         this case Netware) 'longlong' is not defined until later in
         "my_global.h"
      677b00fa
  8. 25 Feb, 2009 1 commit
  9. 23 Feb, 2009 1 commit
    • Alexey Kopytov's avatar
      Fix for bug #15936: "round" differs on Windows to Unix · cebaf077
      Alexey Kopytov authored
      Both of our own implementations of rint(3) were inconsistent with the
      most common behavior of rint() on those platforms that have it: round
      to nearest, break ties by rounding to nearest even.
      
      Fixed by leaving just one implementation of rint() in our source tree,
      and changing its behavior to match the most common native
      implementations on other platforms.
      cebaf077
  10. 03 Dec, 2008 1 commit
  11. 28 Apr, 2008 1 commit
  12. 21 Mar, 2008 1 commit
    • gkodinov/kgeorge@macbook.gmz's avatar
      Bug #26461: Intrinsic data type bool (1 byte) redefined to BOOL (4 bytes) · ff0aac17
      gkodinov/kgeorge@macbook.gmz authored
      The bool data type was redefined to BOOL (4 bytes on windows).
      Removed the #define and fixed some of the warnings that were uncovered
      by this.
      Note that the fix also disables 2 warnings :
      4800 : 'type' : forcing value to bool 'true' or 'false' (performance warning)
      4805: 'operation' : unsafe mix of type 'type' and type 'type' in operation
      
      These warnings will be handled in a separate bug, as they are performance related or bogus.
      
      Fixed to int the return type of functions that return more than 
      2 distinct values.
      ff0aac17
  13. 29 Feb, 2008 1 commit
  14. 27 Feb, 2008 1 commit
  15. 30 Nov, 2007 2 commits
  16. 29 Nov, 2007 1 commit
  17. 12 Oct, 2007 1 commit
    • kaa@polly.(none)'s avatar
      Fix for bug #31254: "Max_data_length" truncated / reported wrong · 56e85a8c
      kaa@polly.(none) authored
      (compiler issue ?)
      
      Problem:
      
      Improper compile-time flags on AIX prevented use of files > 2 GB. This
      resulted in Max_data_length being truncated to 2 GB by MyISAM code.
      
      Solution:
      
      Reverted large-file changes from the fix for bug10776. We need to define
      _LARGE_FILES on AIX to have support for files > 2 GB.
      
       Since _LARGE_FILE_API is incompatible with _LARGE_FILES and may be
      automatically defined by including standards.h, we also need a
      workaround to avoid this conflict.
      56e85a8c
  18. 07 Sep, 2007 1 commit
    • kaa@polly.(none)'s avatar
      This patch is a part of work on bug #5731 "key_buffer_size not properly restricted to 4GB". · 8da409ac
      kaa@polly.(none) authored
        
      The patch limits read_buffer_size and read_rnd_buffer_size by 2 GB on all platforms for the following reasons:
        
      - I/O code in mysys, code in mf_iocache.c and in some storage engines do not currently work with sizes > 2 GB for those buffers
      - even if the above had been fixed, Windows POSIX read() and write() calls are not 2GB-safe, so setting those buffer to sizes > 2GB would not work correctly on 64-bit Windows.
      8da409ac
  19. 22 Jun, 2007 1 commit
  20. 16 May, 2007 1 commit
  21. 14 May, 2007 1 commit
  22. 29 Apr, 2007 1 commit
  23. 18 Apr, 2007 1 commit
    • msvensson@pilot.blaudden's avatar
      Bug#25452 mysql_upgrade access denied · 20e622dc
      msvensson@pilot.blaudden authored
       - Improve mysql_upgrade and add comments describing it's logic
       - Don't look for mysql and mysqlcheck randomly, use dir where mysql_upgrade
        was started from
       - Don't look for mysql_fix_privilege_tables.sql randomly, compile
        in the mysql_fix_privilege_tables.sql file and use that to upgrade
        the system tables of MySQL
       - Check for any unexpected error returned from runnning the mysql_fix_privilege_tables SQL
       - Fix bug#26639, bug#24248 and bug#25405
      20e622dc
  24. 12 Apr, 2007 1 commit
  25. 11 Apr, 2007 1 commit
  26. 09 Mar, 2007 1 commit
  27. 22 Feb, 2007 1 commit
  28. 21 Feb, 2007 1 commit
  29. 30 Jan, 2007 1 commit
  30. 25 Jan, 2007 1 commit
  31. 23 Jan, 2007 1 commit
  32. 22 Jan, 2007 1 commit
  33. 04 Jan, 2007 2 commits
  34. 23 Dec, 2006 1 commit
  35. 14 Dec, 2006 1 commit
  36. 30 Nov, 2006 1 commit
  37. 02 Oct, 2006 2 commits