drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laurentgo <...@git.apache.org>
Subject [GitHub] drill pull request #768: DRILL-5313: Fix build failure in C++ client
Date Fri, 03 Mar 2017 04:05:34 GMT
Github user laurentgo commented on a diff in the pull request:

    https://github.com/apache/drill/pull/768#discussion_r104085400
  
    --- Diff: contrib/native/client/src/clientlib/drillClientImpl.cpp ---
    @@ -662,8 +662,9 @@ DrillClientQueryResult* DrillClientImpl::ExecuteQuery(const PreparedStatement&
p
     }
     
     static void updateLikeFilter(exec::user::LikeFilter& likeFilter, const std::string&
pattern) {
    -	likeFilter.set_pattern(pattern);
    -	likeFilter.set_escape(meta::DrillMetadata::s_searchEscapeString);
    +    likeFilter.set_pattern(pattern);
    +    exec::user::ServerMeta srvrMetaData = meta::DrillMetadata::s_defaultServerMeta; 
    --- End diff --
    
    it's a workaround but it should use the actual escape character and not the default one.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message