Tue May 13 23:53:36 2008ASVBR [...] cpan.org - Ticket created
Subject:
Array: double-quoted text with comma
pg_expand_array is on, text element splitted after fetch:
['a','b,c'] --> '{a,"b,c"}' --> ['a','b,','c']
Wed May 14 09:15:13 2008greg [...] turnstep.com - Correspondence added
Thanks for the report, this has been fixed as of r11266, and will be a
part of the just-released version 2.7.2. If you need a solution quick,
this is the relevant patch:
Index: dbdimp.c
===================================================================
--- dbdimp.c (revision 11262)
+++ dbdimp.c (working copy)
@@ -2474,7 +2474,8 @@
if ('\\' == *input) { /* Eat backslashes */
input++;
}
- string[section_size++] = *input;
+ string[section_size++] = *input++;
+ continue;
}
else if ('{' == *input) {
AV * const newav = newAV();
Wed May 14 09:15:15 2008The RT System itself - Status changed from 'new' to 'open'
Sun May 25 17:31:51 2008greg [...] turnstep.com - Fixed in 2.7.2 added
Sun May 25 17:31:52 2008greg [...] turnstep.com - Status changed from 'open' to 'resolved'