[DBD::Pg 2/2] Fix threaded build broken by commit ef1ffc2

[email protected] Sun, 31 Jul 2016 22:39:29 +0000
Newsgroups perl.dbd.pg.changes
Message-ID <[email protected]>
Committed by =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= <[email protected]>

Subject: [DBD::Pg 2/2] Fix threaded build broken by commit ef1ffc2

---
 dbdimp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dbdimp.c b/dbdimp.c
index 58311cd..c12701a 100644
--- a/dbdimp.c
+++ b/dbdimp.c
@@ -1008,6 +1008,7 @@ int dbd_db_STORE_attrib (SV * dbh, imp_dbh_t * imp_dbh, SV * keysv, SV * valuesv
 } /* end of dbd_db_STORE_attrib */
 
 static SV * pg_st_placeholder_key (imp_sth_t * imp_sth, ph_t * currph, int i) {
+	dTHX;
 	if (PLACEHOLDER_COLON == imp_sth->placeholder_type)
 		return newSVpv(currph->fooname, 0);
 	return newSViv(i+1);
-- 
1.8.4