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
      7451964a
    • Vladislav Vaintroub's avatar
      More fixes after WL1054 push: · 02fdad4e
      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"
      02fdad4e
    • Vladislav Vaintroub's avatar
      Fix compile error on Windows after WL#1054 push. · c41d227e
      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.
      c41d227e
    • Georgi Kodinov's avatar
      merge · 01edb593
      Georgi Kodinov authored
      01edb593
    • Joerg Bruehe's avatar
      Merge 56267 into 5.5-bugteam. · bdec3cbf
      Joerg Bruehe authored
      bdec3cbf
    • Georgi Kodinov's avatar
      worklog 1054: Fixed test suite typos · 5dbfc861
      Georgi Kodinov authored
      5dbfc861
    • Georgi Kodinov's avatar
      Bug #56767: Make sure client plugins in 1054 are compatible with · 2ff06313
      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.
      2ff06313
    • Georgi Kodinov's avatar
      merge · a5eda5ab
      Georgi Kodinov authored
      a5eda5ab
    • Davi Arnaut's avatar
      Bug#57210: remove pstack · 92f7a920
      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.
      92f7a920
    • Vasil Dimov's avatar
      Merge mysql-5.5-innodb -> mysql-5.5-bugteam · bc9a3ef4
      Vasil Dimov authored
      bc9a3ef4
    • Vasil Dimov's avatar
      Merge mysql-5.5-bugteam -> mysql-5.5-innodb · f93be9db
      Vasil Dimov authored
      f93be9db
    • Vasil Dimov's avatar
      Merge mysql-5.1-innodb -> mysql-5.1-bugteam · 2f6dd4b8
      Vasil Dimov authored
      2f6dd4b8
    • Vasil Dimov's avatar
      588559a8
    • Vasil Dimov's avatar
      ee8f8c4b
    • Vasil Dimov's avatar
      Merge mysql-5.5-bugteam -> mysql-5.5-innodb · 4cf8f96e
      Vasil Dimov authored
      4cf8f96e
    • Marko Mäkelä's avatar
      Merge Bug#56716 from 5.1 · af4946df
      Marko Mäkelä authored
      af4946df
    • Vladislav Vaintroub's avatar
      merge · 67689a43
      Vladislav Vaintroub authored
      67689a43
    • Vladislav Vaintroub's avatar
      merge2 · fdf64cec
      Vladislav Vaintroub authored
      fdf64cec
    • Vasil Dimov's avatar
      Merge mysql-5.1-bugteam -> mysql-5.5-bugteam · eb1be01f
      Vasil Dimov authored
      (null merge of innodb-only changes)
      eb1be01f
    • Vladislav Vaintroub's avatar
      A follow-up to the patch for bug #56405 "Deadlock in the MDL deadlock · abae881f
      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).
      abae881f