Committed by Greg Sabino Mullane <[email protected]>
Thinko. Thank goodness for tests
---
dbdimp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdimp.c b/dbdimp.c
index c9b37e6..84a047a 100644
--- a/dbdimp.c
+++ b/dbdimp.c
@@ -2765,7 +2765,7 @@ static SV * pg_destringify_array(pTHX_ imp_dbh_t
*imp_dbh, unsigned char * input
SV *sv = newSVpvn(string, section_size);
// Mark as utf8 if needed (but never
bytea)
- if (0 == strncmp(coltype->type_name,
"_bytea", 6)
+ if (0 != strncmp(coltype->type_name,
"_bytea", 6)
&& imp_dbh->pg_utf8_flag)
SvUTF8_on(sv);
--
1.8.4