aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.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:14 -0400
commit48c6a1ab9713d57984a2eec401a9648ddbe29ae4 (patch)
treebbdbb925fb2eb67921cbfc04895785084ca77fc4 /src/backend/regex/regexec.c
parent2244c0652d2c20cd2557fb1940458b5f21cd48e0 (diff)
downloadpostgresql-48c6a1ab9713d57984a2eec401a9648ddbe29ae4.tar.gz
postgresql-48c6a1ab9713d57984a2eec401a9648ddbe29ae4.zip
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/regexec.c')
0 files changed, 0 insertions, 0 deletions