1. 13 Oct, 2010 1 commit
  2. 12 Oct, 2010 3 commits
    • Ramil Kalimullin's avatar
      Fix for bug#57283: inet_ntoa() crashes · b001a522
      Ramil Kalimullin authored
      Problem: some call of INET_NTOA() function may lead 
      to a crash due to missing its character set initialization.
      
      Fix: explicitly set the character set.
      
      
      mysql-test/r/func_misc.result:
        Fix for bug#57283: inet_ntoa() crashes
          - test result.
      mysql-test/t/func_misc.test:
        Fix for bug#57283: inet_ntoa() crashes
          - test case.
      sql/item_strfunc.cc:
        Fix for bug#57283: inet_ntoa() crashes
          - explicitly set buffer's character set.
      b001a522
    • Ramil Kalimullin's avatar
      Fix for bug#57272: crash in rpad() when using utf8 · 42550e21
      Ramil Kalimullin authored
      Problem: if multibyte and binary string arguments passed to 
      RPAD(), LPAD() or INSERT() functions, they might return 
      wrong results or even lead to a server crash due to missed
      character set convertion.
      
      Fix: perform the convertion if necessary.
      
      
      mysql-test/r/ctype_utf8.result:
        Fix for bug#57272: crash in rpad() when using utf8
          - test result.
      mysql-test/t/ctype_utf8.test:
        Fix for bug#57272: crash in rpad() when using utf8
          - test case.
      sql/item_strfunc.cc:
        Fix for bug#57272: crash in rpad() when using utf8
          - convert multibyte argument's character set to binary in case of
        FUNCTION(MULTIBYTE_ARG, .., BINARY_ARG,..) for RPAD(), LPAD() and 
        INSERT() functions.
      42550e21
    • Jimmy Yang's avatar
      36966a2c
  3. 11 Oct, 2010 7 commits
  4. 07 Oct, 2010 2 commits
  5. 06 Oct, 2010 7 commits
  6. 05 Oct, 2010 13 commits
  7. 04 Oct, 2010 7 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