1. 03 Oct, 2013 1 commit
    • Alexander Barkov's avatar
      MDEV-4425 Regexp enhancements · f37e0a88
      Alexander Barkov authored
      PCRE unit tests failed on Ubuntu Precise, because "source" 
      is not a known command in "dash" (the default shell in Precise).
      
      Changing "source" to ".", which should be understood in all shells.
      f37e0a88
  2. 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
  3. 01 Oct, 2013 3 commits
  4. 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
  5. 27 Sep, 2013 4 commits
  6. 26 Sep, 2013 1 commit
  7. 25 Sep, 2013 3 commits
  8. 24 Sep, 2013 1 commit
  9. 23 Sep, 2013 3 commits
  10. 20 Sep, 2013 1 commit
  11. 19 Sep, 2013 6 commits
  12. 18 Sep, 2013 5 commits
  13. 17 Sep, 2013 3 commits