diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-01-22 15:29:36 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-01-22 15:29:36 +0100 |
commit | 37d240ecf9213a29d6a0a236ebeb1e72c0b43ce6 (patch) | |
tree | 6bd2508d867303d8830aab0f246cd61a7ec5a835 /strings | |
parent | e8f6f402922295ec36aab42976f3e494455407d4 (diff) | |
parent | 5caddbfd5b4a7ec377f3d40a5830436e0e6e993b (diff) | |
download | mariadb-git-37d240ecf9213a29d6a0a236ebeb1e72c0b43ce6.tar.gz |
MySQL-5.5.35 merge
Diffstat (limited to 'strings')
-rw-r--r-- | strings/CMakeLists.txt | 5 | ||||
-rw-r--r-- | strings/ctype-win1250ch.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/strings/CMakeLists.txt b/strings/CMakeLists.txt index 2747374058d..18fae59d394 100644 --- a/strings/CMakeLists.txt +++ b/strings/CMakeLists.txt @@ -32,3 +32,8 @@ ENDIF() # Avoid dependencies on perschema data defined in mysys ADD_DEFINITIONS(-DDISABLE_MYSQL_THREAD_H) ADD_CONVENIENCE_LIBRARY(strings ${STRINGS_SOURCES}) + +INSTALL_DEBUG_SYMBOLS(strings) +IF(MSVC) + INSTALL_DEBUG_TARGET(strings DESTINATION ${INSTALL_LIBDIR}/debug) +ENDIF() diff --git a/strings/ctype-win1250ch.c b/strings/ctype-win1250ch.c index 8fd15ebddb2..ef54101cf7f 100644 --- a/strings/ctype-win1250ch.c +++ b/strings/ctype-win1250ch.c @@ -501,7 +501,7 @@ static size_t my_strnxfrm_win1250ch(CHARSET_INFO * cs __attribute__((unused)), do { NEXT_CMP_VALUE(src, p, pass, value, (int)srclen); - if (totlen <= len) + if (totlen < len) dest[totlen] = value; totlen++; } while (value) ; |