diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-09-09 20:14:58 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-09-09 20:14:58 -0400 |
commit | 91cf3135b9079bf44ee9b4b445531987cdb7deee (patch) | |
tree | 9ff06b7c2fa78f4f3885bf303a9053a3f1b34465 /src/backend/utils/adt/jsonfuncs.c | |
parent | 223936e22691ccae02be7e2980b6f565518bff19 (diff) | |
download | postgresql-91cf3135b9079bf44ee9b4b445531987cdb7deee.tar.gz postgresql-91cf3135b9079bf44ee9b4b445531987cdb7deee.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/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions