Show
Ignore:
Timestamp:
05/24/09 22:10:01 (10 months ago)
Author:
sjamaan
Message:

Fix off-by-one error in result-row-alist

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release/4/postgresql/trunk/postgresql.scm

    r14761 r14762  
    498498    (if (= column 0) 
    499499        alist 
    500         (loop (cons (cons (PQfname (pg-result-ptr result) column) 
     500        (loop (cons (cons (string->symbol 
     501                           (PQfname (pg-result-ptr result) (sub1 column))) 
    501502                          (result-value* result row (sub1 column))) alist) 
    502503              (sub1 column)))))