Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
9477f12e
Commit
9477f12e
authored
Apr 02, 2007
by
Teodor Sigaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix caching of unsuccessful initialization of parser or configuration.
Per report from Listmail <lists@peufeu.com>
parent
57690c68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
contrib/tsearch2/ts_cfg.c
contrib/tsearch2/ts_cfg.c
+1
-1
contrib/tsearch2/wparser.c
contrib/tsearch2/wparser.c
+1
-1
No files found.
contrib/tsearch2/ts_cfg.c
View file @
9477f12e
...
@@ -224,8 +224,8 @@ findcfg(Oid id)
...
@@ -224,8 +224,8 @@ findcfg(Oid id)
CList
.
reallen
=
reallen
;
CList
.
reallen
=
reallen
;
CList
.
list
=
tmp
;
CList
.
list
=
tmp
;
}
}
init_cfg
(
id
,
&
(
CList
.
list
[
CList
.
len
])
);
CList
.
last_cfg
=
&
(
CList
.
list
[
CList
.
len
]);
CList
.
last_cfg
=
&
(
CList
.
list
[
CList
.
len
]);
init_cfg
(
id
,
CList
.
last_cfg
);
CList
.
len
++
;
CList
.
len
++
;
qsort
(
CList
.
list
,
CList
.
len
,
sizeof
(
TSCfgInfo
),
comparecfg
);
qsort
(
CList
.
list
,
CList
.
len
,
sizeof
(
TSCfgInfo
),
comparecfg
);
return
findcfg
(
id
);
/* qsort changed order!! */
;
return
findcfg
(
id
);
/* qsort changed order!! */
;
...
...
contrib/tsearch2/wparser.c
View file @
9477f12e
...
@@ -127,8 +127,8 @@ findprs(Oid id)
...
@@ -127,8 +127,8 @@ findprs(Oid id)
PList
.
reallen
=
reallen
;
PList
.
reallen
=
reallen
;
PList
.
list
=
tmp
;
PList
.
list
=
tmp
;
}
}
init_prs
(
id
,
&
(
PList
.
list
[
PList
.
len
])
);
PList
.
last_prs
=
&
(
PList
.
list
[
PList
.
len
]);
PList
.
last_prs
=
&
(
PList
.
list
[
PList
.
len
]);
init_prs
(
id
,
PList
.
last_prs
);
PList
.
len
++
;
PList
.
len
++
;
qsort
(
PList
.
list
,
PList
.
len
,
sizeof
(
WParserInfo
),
compareprs
);
qsort
(
PList
.
list
,
PList
.
len
,
sizeof
(
WParserInfo
),
compareprs
);
return
findprs
(
id
);
/* qsort changed order!! */
;
return
findprs
(
id
);
/* qsort changed order!! */
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment