You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
MCOL-3663 revert to using posix regex for LIKE
This commit is contained in:
@@ -29,11 +29,6 @@
|
||||
#include <cmath>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <boost/regex.hpp>
|
||||
#else
|
||||
#include <regex.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
@@ -31,6 +31,7 @@ using namespace std;
|
||||
#include "messageobj.h"
|
||||
#include "exceptclasses.h"
|
||||
#include "utils_utf8.h"
|
||||
#include "dataconvert.h"
|
||||
#include <sstream>
|
||||
|
||||
using namespace funcexp;
|
||||
|
@@ -33,9 +33,9 @@
|
||||
#include <unordered_set>
|
||||
#endif
|
||||
|
||||
//#ifdef __linux__
|
||||
//#define POSIX_REGEX
|
||||
//#endif
|
||||
#ifdef __linux__
|
||||
#define POSIX_REGEX
|
||||
#endif
|
||||
|
||||
#ifdef POSIX_REGEX
|
||||
#include <regex.h>
|
||||
|
@@ -36,7 +36,16 @@
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#define POSIX_REGEX
|
||||
#endif
|
||||
|
||||
#ifdef POSIX_REGEX
|
||||
#include <regex.h>
|
||||
#else
|
||||
#include <boost/regex.hpp>
|
||||
#endif
|
||||
|
||||
#include "calpontsystemcatalog.h"
|
||||
#include "columnresult.h"
|
||||
|
Reference in New Issue
Block a user