summaryrefslogtreecommitdiff
path: root/src/backend/regex/regerror.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-09-09 20:14:58 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-09-09 20:15:18 -0400
commitd61ab72318e20354435560145981a56d67b084d7 (patch)
tree1d6f224e1276f11455bca7a6971968edd7fac2de /src/backend/regex/regerror.c
parent47387732ba28e940e27f3f82c657d11bab628e1a (diff)
Fix minor bug in regexp makesearch() function.
The list-wrangling here was done wrong, allowing the same state to get put into the list twice. The following loop then would clone it twice. The second clone would wind up with no inarcs, so that there was no observable misbehavior AFAICT, but a useless state in the finished NFA isn't an especially good thing.
Diffstat (limited to 'src/backend/regex/regerror.c')
0 files changed, 0 insertions, 0 deletions