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
      29f9f347
    • Vladislav Vaintroub's avatar
      More fixes after WL1054 push: · af7a3493
      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"
      af7a3493
    • Vladislav Vaintroub's avatar
      Fix compile error on Windows after WL#1054 push. · a1fe2366
      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.
      a1fe2366
    • Georgi Kodinov's avatar
      merge · 57bb4dee
      Georgi Kodinov authored
      57bb4dee
    • Joerg Bruehe's avatar
      Merge 56267 into 5.5-bugteam. · 20fa3d7d
      Joerg Bruehe authored
      20fa3d7d
    • Georgi Kodinov's avatar
      worklog 1054: Fixed test suite typos · f206172b
      Georgi Kodinov authored
      f206172b
    • Georgi Kodinov's avatar
      Bug #56767: Make sure client plugins in 1054 are compatible with · c050a452
      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.
      c050a452
    • Georgi Kodinov's avatar
      merge · 8789c797
      Georgi Kodinov authored
      8789c797
    • Davi Arnaut's avatar
      Bug#57210: remove pstack · 40ee088f
      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.
      40ee088f
    • Vasil Dimov's avatar
      Merge mysql-5.5-innodb -> mysql-5.5-bugteam · a39f21a9
      Vasil Dimov authored
      a39f21a9
    • Vasil Dimov's avatar
      Merge mysql-5.5-bugteam -> mysql-5.5-innodb · 654b3e60
      Vasil Dimov authored
      654b3e60
    • Vasil Dimov's avatar
      Merge mysql-5.1-innodb -> mysql-5.1-bugteam · d9f88e64
      Vasil Dimov authored
      d9f88e64
    • Vasil Dimov's avatar
      f3f1db2a
    • Vasil Dimov's avatar
      18520902
    • Vasil Dimov's avatar
      Merge mysql-5.5-bugteam -> mysql-5.5-innodb · 97bce136
      Vasil Dimov authored
      97bce136
    • Marko Mäkelä's avatar
      Merge Bug#56716 from 5.1 · 24b1a897
      Marko Mäkelä authored
      24b1a897
    • Vladislav Vaintroub's avatar
      merge · f6e5cf3e
      Vladislav Vaintroub authored
      f6e5cf3e
    • Vladislav Vaintroub's avatar
      merge2 · c38aa1b0
      Vladislav Vaintroub authored
      c38aa1b0
    • Vasil Dimov's avatar
      Merge mysql-5.1-bugteam -> mysql-5.5-bugteam · 2af35a2c
      Vasil Dimov authored
      (null merge of innodb-only changes)
      2af35a2c
    • Vladislav Vaintroub's avatar
      A follow-up to the patch for bug #56405 "Deadlock in the MDL deadlock · 367bfa41
      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).
      367bfa41