1. 11 Oct, 2013 1 commit
  2. 08 Oct, 2013 1 commit
    • Alexander Barkov's avatar
      MDEV-4425 Regexp enhancements · 1bcd2beb
      Alexander Barkov authored
      Do not pass PCRE_UCP flag for binary data.
      This makes bytes 0x80..FF not to belong to 
      generic character classes \d (digit) and \w (word character).
      
      SELECT 0xFF RLIKE '\\w';
       -> 0
      
      Note, this change does not affect non-binary data,
      which is still examined with the PCRE_UCP flag by default.
      1bcd2beb
  3. 04 Oct, 2013 1 commit
    • Alexander Barkov's avatar
      MDEV-4425 Regexp enhancements · 43c09c15
      Alexander Barkov authored
      Fixing compilation failure on Solaris.
      The int64_t type was not defined because stdint.h was not included
      due to a missing definition in pcre/config-cmake.h.in.
      43c09c15
  4. 03 Oct, 2013 4 commits
  5. 02 Oct, 2013 5 commits
    • Alexander Barkov's avatar
      A follow-up for the previous commit: · 1a3bb948
      Alexander Barkov authored
      MDEV-4425 Regexp enhancements
      Adding ${CMAKE_BINARY_DIR}/pcre into search path for *.h files.
      Needed for find pcre.h (which is generated from pcre.h.in) when
      build directory != source directory.
      1a3bb948
    • Alexander Barkov's avatar
      MDEV-4425 · f71e2539
      Alexander Barkov authored
      Adding ${CMAKE_BINARY_DIR}/pcre into search path for *.h files.
      Needed for find pcre.h (which is generated from pcre.h.in) when
      build directory != source directory.
      f71e2539
    • Alexander Barkov's avatar
      MDEV-4425 REGEXP enhancements · fcf992ba
      Alexander Barkov authored
      Adding pcre_stack_guard to avoid crashes in pcre_compile()
      on a long recursive patterns with parenthesizes:
      
      SELECT a RLIKE '((((...((((x)))...))))';
      fcf992ba
    • Alexander Barkov's avatar
      MDEV-4425 Regexp enhancements · d83648f2
      Alexander Barkov authored
      Removing pcre.h from the tree, it's generated from pcre.h.in 
      d83648f2
    • Alexander Barkov's avatar
      MDEV-4424 Regexp enhancements · bf410884
      Alexander Barkov authored
      - Commenting out unused instructions in pcre/CMakeLists.txt
      - Don't print PCRE configuration status by default.
      bf410884
  6. 01 Oct, 2013 3 commits
  7. 30 Sep, 2013 4 commits
    • Alexander Barkov's avatar
    • Alexander Barkov's avatar
      pcre: fixing a test failure in character_sets_dir_basic in this command: · 62260434
      Alexander Barkov authored
      --replace_regex /.prefix.sql.share.charsets[/\]/MYSQL_CHARSETSDIR/
      select @@global.character_sets_dir;
      
      The intention of the '[/\]' part was to replace both slash
      '/' and backslash '\\', so it does not depend on the OS.
      
      The pattern '[/\]' was actually wrong, because ']' is escaped
      and should be considered as a part of the class, instead of
      being a closing bracket for the class. However, due to some bug
      in the old REGEX library it worked fine.
      
      After switching to PCRE, mysqltest correctly complains about unbalaced '[]'.
      The expected correct pattern should be '[/\\]'.
      However, due to some bug in mysqltest, it eats consequetive baskslashes
      in a strange way, so there is no a way to have to consequetive 
      backslashes after unescaping.
      
      Workaround:
      
      using [[:punct:]] as a pattern that matches both slash and backslash,
      which should be fine for this test purposes.
      62260434
    • Alexander Barkov's avatar
      Always include the local copy of pcre.h and pcreposix.h instead of the · 038554ec
      Alexander Barkov authored
      system installed (if any).
      038554ec
    • Alexander Barkov's avatar
      pcre: fixing linking error one some systems: · 61a1c036
      Alexander Barkov authored
      libmysqld.a(pcre_exec.c.o): relocation R_X86_64_32S against
      `_pcre_ucd_stage1' can not be used when making a shared object;
      make[2]: Leaving directory `/mnt/buildbot/build/mariadb-10.0.3'
      recompile with -fPIC
      
      Changing ADD_LIBRARY(pcre) to ADD_CONVENIENCE_LIBRARY(pcre)
      61a1c036
  8. 27 Sep, 2013 4 commits
  9. 26 Sep, 2013 1 commit
  10. 25 Sep, 2013 3 commits
  11. 24 Sep, 2013 1 commit
  12. 23 Sep, 2013 3 commits
  13. 20 Sep, 2013 1 commit
  14. 19 Sep, 2013 6 commits
  15. 18 Sep, 2013 2 commits