1. 07 Oct, 2010 1 commit
  2. 06 Oct, 2010 7 commits
  3. 05 Oct, 2010 12 commits
  4. 04 Oct, 2010 20 commits
    • Vladislav Vaintroub's avatar
      73e139c4
    • Vladislav Vaintroub's avatar
      More fixes after WL1054 push: · 7c4404b6
      Vladislav Vaintroub authored
      - fix ~20 warnings about redefinition of HAVE_DLOPEN 
        This was caused by new ADD_DEFINITIONS(-DHAVE_DLOPEN) inside client library CMakeLists.txt
      
      - fix dlerror() message which ("static build?" )  which is only confusing on Windows,
        there is no "static build"
      7c4404b6
    • Vladislav Vaintroub's avatar
      Fix compile error on Windows after WL#1054 push. · c6de6320
      Vladislav Vaintroub authored
      The error was introduced by typo in variable name (errormsg instead of correct
      errmsg)
      
      - Also, precache  HAVE_PEERCRED to OFF in cmake\os\WindowsCache.cmake
      (to avoid useless system check).
      - Also, add missing check for errors from FormatMessage().
      
      - Also, remove annoying CMake debug printout of MALLOC_LIB if this is not set.
      c6de6320
    • Georgi Kodinov's avatar
      merge · 7f491aea
      Georgi Kodinov authored
      7f491aea
    • Joerg Bruehe's avatar
      Merge 56267 into 5.5-bugteam. · fdadaf07
      Joerg Bruehe authored
      fdadaf07
    • Georgi Kodinov's avatar
      worklog 1054: Fixed test suite typos · 051fbd24
      Georgi Kodinov authored
      051fbd24
    • Georgi Kodinov's avatar
      Bug #56767: Make sure client plugins in 1054 are compatible with · fee2a518
      Georgi Kodinov authored
        connectors plugins
            
      Implemented changes needed to keep the client plugin API compatible with 
      the existing plugins :
            
      1. Provided an options() client plugin API to let the application pass
      options to the plugin after loading it
      2. Added "License" (const char *) to specify the client plugin's license
      3. Added "mysql_api" as a placeholder that the client library can use
      to pass function pointers to the plugin so that the plugin can call the 
      C lib back.
      4. Updated the existing client plugins to comply with the API change.
      5. Added more detailed error message generation for Windows.
      fee2a518
    • Georgi Kodinov's avatar
      merge · dd2e3db4
      Georgi Kodinov authored
      dd2e3db4
    • Davi Arnaut's avatar
      Bug#57210: remove pstack · 774a5778
      Davi Arnaut authored
      Quoting from the bug report:
      
      The pstack library has been included in MySQL since version
      4.0.0. It's useless and should be removed.
      
      Details: According to its own documentation, pstack only works
      on Linux on x86 in 32 bit mode and requires LinuxThreads and a
      statically linked binary. It doesn't really support any Linux
      from 2003 or later and doesn't work on any other OS.
      774a5778
    • Vasil Dimov's avatar
      Merge mysql-5.5-innodb -> mysql-5.5-bugteam · 9cc9916d
      Vasil Dimov authored
      9cc9916d
    • Vasil Dimov's avatar
      Merge mysql-5.5-bugteam -> mysql-5.5-innodb · 00900d95
      Vasil Dimov authored
      00900d95
    • Vasil Dimov's avatar
      Merge mysql-5.1-innodb -> mysql-5.1-bugteam · babfc48c
      Vasil Dimov authored
      babfc48c
    • Vasil Dimov's avatar
      b69beea5
    • Vasil Dimov's avatar
      c82feaf5
    • Vasil Dimov's avatar
      Merge mysql-5.5-bugteam -> mysql-5.5-innodb · 6bff5326
      Vasil Dimov authored
      6bff5326
    • Marko Mäkelä's avatar
      Merge Bug#56716 from 5.1 · fe2ff690
      Marko Mäkelä authored
      fe2ff690
    • Vladislav Vaintroub's avatar
      merge · 36d92a93
      Vladislav Vaintroub authored
      36d92a93
    • Vladislav Vaintroub's avatar
      merge2 · 07617b2e
      Vladislav Vaintroub authored
      07617b2e
    • Vasil Dimov's avatar
      Merge mysql-5.1-bugteam -> mysql-5.5-bugteam · 876c4713
      Vasil Dimov authored
      (null merge of innodb-only changes)
      876c4713
    • Vladislav Vaintroub's avatar
      A follow-up to the patch for bug #56405 "Deadlock in the MDL deadlock · 4aea170b
      Vladislav Vaintroub authored
      detector". This patch addresses performance regression in OLTP_RO/MyISAM
      test on Windows introduced by the fix for bug #56405. Thus it makes
      original patch acceptable as a solution for bug #56585 "Slowdown of
      readonly sysbench benchmarks (e.g point_select) on Windows 5.5".
      
      With this patch, MySQL will use native Windows condition variables and 
      reader-writer locks  if  they are supported by the OS.
      
      This speeds up MyISAM and the effect comes mostly from using native
      rwlocks. Native conditions improve scalability with higher number of 
      concurrent users in other situations, e.g for prlocks.
      
      Benchmark numbers for this patch as measured on Win2008R2 quad
      core machine are attached to the bug report.
      ( direct link http://bugs.mysql.com/file.php?id=15883 )
      
      Note that currently we require at least Windows7/WS2008R2 for 
      reader-writer locks, even though native rwlock is available also on Vista.
      Reason is that "trylock" APIs are missing on Vista, and trylock is used in
      the server (in a single place in query cache).
      
      While this patch could have been written differently, to enable the native
      rwlock optimization also on Vista/WS2008 (e.g using native locks everywhere
      but portable implementation in query cache), this would come at the 
      expense of the code clarity, as it would introduce a new  "try-able" rwlock
      type, to handle Vista case.
      
      Another way to improve performance for the special case 
      (OLTP_RO/MYISAM/Vista) would be to eliminate "trylock" usage from server,
       but this is outside of the scope here.
      
      
      Native conditions variables are used beginning with Vista though the effect
      of using condition variables alone is not measurable in this benchmark.
      But when used together with native rwlocks on Win7, native conditions improve 
      performance in high-concurrency OLTP_RO/MyISAM (128 and more sysbench 
      users).
      4aea170b