1. 30 Sep, 2009 3 commits
    • Vladislav Vaintroub's avatar
      Backport of the patch · b73763e0
      Vladislav Vaintroub authored
      http://lists.mysql.com/commits/57725
      
      Vladislav Vaintroub	2008-11-03
      Cleanup CMakeLists.txt(s) - remove winsock2 (ws2_32) from 
      TARGET_LINK_LIBRARIES. 
            
      Every exe or dll linked with mysys needs ws2_32, because
      mysys uses winsock function WSAStartup in my_init().
      However, there is no need to explicitely add ws2_32 to
      the list of TARGET_LINK_LIBRARIES multiple times. 
      Visual Studio comes with a handy pragma that tells linker
      to add library. So patch replaces bunch of ws2_32 in 
      CMakeLists with  single pragma comment(lib,"ws2_32")
      in my_init.c
            
      Additionally, reference to non-existing "debug" library
      has been removed from TARGET_LINK_LIBRARIES. The correct
      name of the library is "dbug".
      b73763e0
    • Vladislav Vaintroub's avatar
      Windows improvements : manual backport of · 2bc1930c
      Vladislav Vaintroub authored
      htttp://lists.mysql.com/commits/50957?f=plain
            
      Always use TLS functions instead of __declspec(thread) to access 
      thread local storage variables.
      The change removes the necessity to recomplile the same source
      files twice -  with USE_TLS for DLLs and without USE_TLS for EXEs.
      Real benefit of this change is better readability and maintainability
      of TLS functions within MySQL.
                    
      There is a performance loss using TlsXXX functions compared to __declspec 
      but the difference is negligible in practice. In a sysbench-like benchmark 
      I ran with with TlsGetValue, pthread_[get|set]_specific was called 600000000 
      times and took 0.17sec of total 35min CPU time, or 0.008%.
      2bc1930c
    • Vladislav Vaintroub's avatar
      fix tree name · 28a7d504
      Vladislav Vaintroub authored
      28a7d504
  2. 28 Sep, 2009 1 commit
  3. 27 Sep, 2009 1 commit
  4. 25 Sep, 2009 7 commits
  5. 24 Sep, 2009 5 commits
  6. 23 Sep, 2009 16 commits
  7. 22 Sep, 2009 7 commits