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.26 by root, Thu Sep 6 10:48:25 2012 UTC vs.
Revision 1.27 by root, Thu Sep 20 09:00:44 2012 UTC

334 334
335void 335void
336sql_exec(...) 336sql_exec(...)
337 ALIAS: 337 ALIAS:
338 sql_uexec = 1 338 sql_uexec = 1
339 sql_fetch = 2 339 sql_fetch = 2
340 sql_ufetch = 3 340 sql_ufetch = 3
341 sql_fetchall = 4 341 sql_fetchall = 4
342 sql_ufetchall = 5 342 sql_ufetchall = 5
343 sql_exists = 6 343 sql_exists = 6
344 sql_uexists = 7 344 sql_uexists = 7
348 croak ("Usage: sql_exec [database-handle,] [bind-var-refs,... ] \"sql-statement\", [arguments, ...]"); 348 croak ("Usage: sql_exec [database-handle,] [bind-var-refs,... ] \"sql-statement\", [arguments, ...]");
349 else 349 else
350 { 350 {
351 int i; 351 int i;
352 int arg = 0; 352 int arg = 0;
353 int first_execution = 0;
354 int bind_first, bind_last; 353 int bind_first, bind_last;
355 int count; 354 int count;
356 lru_node *lru; 355 lru_node *lru;
357 SV *dbh = ST(0); 356 SV *dbh = ST(0);
358 SV *sth; 357 SV *sth;
522 EXTEND (SP, items - arg + 1); 521 EXTEND (SP, items - arg + 1);
523 PUSHs (sth); 522 PUSHs (sth);
524 while (items > arg) 523 while (items > arg)
525 { 524 {
526 SV *sv = ST (arg); 525 SV *sv = ST (arg);
527 PUSHs (ST (arg)); 526 PUSHs (sv);
528 arg++; 527 arg++;
529 } 528 }
530 } 529 }
531 530
532 PUTBACK; 531 PUTBACK;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines