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.18 by root, Thu Sep 1 08:57:28 2005 UTC vs.
Revision 1.19 by root, Sat Jan 19 07:38:52 2008 UTC

354 if (count != 1) 354 if (count != 1)
355 croak ("sql_exec: bind_columns() didn't return any value ('%s'): %s", 355 croak ("sql_exec: bind_columns() didn't return any value ('%s'): %s",
356 SvPV (sql, dc), 356 SvPV (sql, dc),
357 SvPV (get_sv ("DBI::errstr", TRUE), dd)); 357 SvPV (get_sv ("DBI::errstr", TRUE), dd));
358 358
359 if (!SvOK (POPs)) 359 if (!SvOK (TOPs))
360 croak ("sql_exec: bind_columns() didn't return a true ('%s'): %s", 360 croak ("sql_exec: bind_columns() didn't return a true ('%s'): %s",
361 SvPV (sql, dc), 361 SvPV (sql, dc),
362 SvPV (get_sv ("DBI::errstr", TRUE), dd)); 362 SvPV (get_sv ("DBI::errstr", TRUE), dd));
363
363 } 364 POPs;
365 }
364 366
365 /* free our arguments from the stack */ 367 /* restore our arguments again */
366 SP -= items; 368 SP -= items;
367 369
368 if ((ix & ~1) == 2) 370 if ((ix & ~1) == 2)
369 { /* sql_fetch */ 371 { /* sql_fetch */
370 SV *row; 372 SV *row;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines