Skip to content

Commit 2299cea

Browse files
committed
Invoke mksafefunc and mkunsafefunc with :: decoration. This seems a good
idea on consistency grounds, whether or not it really fixes bug #1831. Michael Fuhr
1 parent ba2fc7e commit 2299cea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pl/plperl/plperl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* ENHANCEMENTS, OR MODIFICATIONS.
3434
*
3535
* IDENTIFICATION
36-
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.89 2005/08/12 21:26:32 tgl Exp $
36+
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.90 2005/08/20 19:19:21 tgl Exp $
3737
*
3838
**********************************************************************/
3939

@@ -680,7 +680,7 @@ plperl_create_sub(char *s, bool trusted)
680680
* errors properly. Perhaps it's because there's another level of
681681
* eval inside mksafefunc?
682682
*/
683-
count = perl_call_pv((trusted ? "mksafefunc" : "mkunsafefunc"),
683+
count = perl_call_pv((trusted ? "::mksafefunc" : "::mkunsafefunc"),
684684
G_SCALAR | G_EVAL | G_KEEPERR);
685685
SPAGAIN;
686686

0 commit comments

Comments
 (0)