ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/PApp-SQL/SQL.xs
(Generate patch)

Comparing PApp-SQL/SQL.xs (file contents):
Revision 1.14 by root, Fri Aug 2 03:30:01 2002 UTC vs.
Revision 1.15 by root, Thu Nov 7 01:57:58 2002 UTC

301 PUSHMARK (SP); 301 PUSHMARK (SP);
302 EXTEND (SP, items - arg + 1); 302 EXTEND (SP, items - arg + 1);
303 PUSHs (sth); 303 PUSHs (sth);
304 while (items > arg) 304 while (items > arg)
305 { 305 {
306 SV *sv = ST(arg);
307 /* we sv_mortalcopy magical values since DBI seems to have a memory
308 * leak when magical values are passed into execute().
309 */
306 PUSHs (maybe_upgrade_utf8 (ix & 1, ST(arg))); 310 PUSHs (maybe_upgrade_utf8 (ix & 1, SvMAGICAL(sv) ? sv_mortalcopy(sv) : sv));
307 arg++; 311 arg++;
308 } 312 }
309 313
310 PUTBACK; 314 PUTBACK;
311 /* { static GV *execute; 315 /* { static GV *execute;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines