Skip to content

Commit

Permalink
small cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
klimenko-serj committed Aug 4, 2012
1 parent 602be0b commit a09b67c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions cl-fbclient-functions.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,13 @@
'xsqlvar index) 'xsqlvar 'sqllen))
;-----------------------------------------------------------------------------------
(defun alloc-var-data-default (xsqlda* index)
(progn
(format t "index: ~a ;ln: ~a~%" index (get-var-sqlln xsqlda* index))
(setf (cffi:foreign-slot-value
(cffi:mem-aref
(cffi:foreign-slot-value xsqlda* 'xsqlda 'sqlvar)
'xsqlvar index) 'xsqlvar 'sqldata)
(cffi:foreign-alloc :char
:initial-element 0
:count (get-var-sqlln xsqlda* index)))))
:count (get-var-sqlln xsqlda* index))))
;-----------------------------------------------------------------------------------
(defun alloc-vars-data (sqlda)
(loop for i from 0 to (- (cffi:foreign-slot-value sqlda 'xsqlda 'sqld) 1) do
Expand Down
2 changes: 1 addition & 1 deletion cl-fbclient.asd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:serial t
:description "Common Lisp library for working with firebird databases(using fbclient)"
:author "Klimenko Serj <klimenko.serj@gmail.com>"
:license ""
:license "LGPL"
:depends-on (#:cffi
#:local-time)
:components ((:file "package")
Expand Down

0 comments on commit a09b67c

Please sign in to comment.