projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed sqlite bug where sqlite-aref was called with incorrect args (thanks Zach)
[clsql.git]
/
db-postgresql-socket
/
postgresql-socket-api.lisp
diff --git
a/db-postgresql-socket/postgresql-socket-api.lisp
b/db-postgresql-socket/postgresql-socket-api.lisp
index 899d3bbba49911a1c61d2cc47707599fe88818f4..879e5bb2a0ede5a358f45e88dad9205676790c87 100644
(file)
--- a/
db-postgresql-socket/postgresql-socket-api.lisp
+++ b/
db-postgresql-socket/postgresql-socket-api.lisp
@@
-122,6
+122,7
@@
socket interface"
#+ccl
(write-sequence (ccl:encode-string-to-octets
value :external-format :utf-8) socket)
#+ccl
(write-sequence (ccl:encode-string-to-octets
value :external-format :utf-8) socket)
+ #+ccl
(write-byte 0 socket)
#+sb-unicode
(write-sequence (sb-ext:string-to-octets value :null-terminate t)
(write-byte 0 socket)
#+sb-unicode
(write-sequence (sb-ext:string-to-octets value :null-terminate t)
@@
-489,7
+490,7
@@
troubles."
(defun encrypt-md5 (plaintext salt)
(string-downcase
(format nil "~{~2,'0X~}"
(defun encrypt-md5 (plaintext salt)
(string-downcase
(format nil "~{~2,'0X~}"
- (coerce (md5sum-s
equence
(concatenate 'string plaintext salt)) 'list))))
+ (coerce (md5sum-s
tring
(concatenate 'string plaintext salt)) 'list))))
(defun reopen-postgresql-connection (connection)
"Reopen the given PostgreSQL connection. Closes any existing
(defun reopen-postgresql-connection (connection)
"Reopen the given PostgreSQL connection. Closes any existing