~ubuntu-branches/ubuntu/trusty/postgresql-9.3/trusty-proposed

« back to all changes in this revision

Viewing changes to src/backend/utils/adt/like_match.c

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2016-03-31 11:04:53 UTC
  • mfrom: (1.1.11) (18.1.4 trusty-security)
  • Revision ID: package-import@ubuntu.com-20160331110453-h6xfs9f11suj3mze
Tags: 9.3.12-0ubuntu0.14.04
* New upstream bug fix release. (LP: #1564268)
  - See http://www.postgresql.org/about/news/1656/ for details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
        if (plen == 1 && *p == '%')
84
84
                return LIKE_TRUE;
85
85
 
 
86
        /* Since this function recurses, it could be driven to stack overflow */
 
87
        check_stack_depth();
 
88
 
86
89
        /*
87
90
         * In this loop, we advance by char when matching wildcards (and thus on
88
91
         * recursive entry to this function we are properly char-synced). On other