;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;; and Copyright (c) 1999-2001 by Pierre R. Mai
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;; and Copyright (c) 1999-2001 by Pierre R. Mai
- (let ((num-fields (mysql-num-fields res-ptr)))
- (setq types (canonicalize-types
- types num-fields
- res-ptr))
- (unwind-protect
- (loop for row = (mysql-fetch-row res-ptr)
+ (unwind-protect
+ (let ((num-fields (mysql-num-fields res-ptr)))
+ (setq types (canonicalize-types
+ types num-fields
+ res-ptr))
+ (loop for row = (mysql-fetch-row res-ptr)
until (uffi:null-pointer-p row)
collect
(loop for i from 0 below num-fields
collect
(convert-raw-field
(uffi:deref-array row '(:array (* :unsigned-char)) i)
until (uffi:null-pointer-p row)
collect
(loop for i from 0 below num-fields
collect
(convert-raw-field
(uffi:deref-array row '(:array (* :unsigned-char)) i)