New mysql.lsp module working too for 64-bit newLISP/MySQL

Notices and updates
Locked
Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

New mysql.lsp module working too for 64-bit newLISP/MySQL

Post by Lutz »

A new mysql.lsp here:

http://www.newlisp.org/downloads/mysql.lsp

will work on 32-bit newLISP as well as 64-bit newLISP and will also work on MySQL v.5.0 and 5.1. The old mysql5.lsp and mysql51.lsp will be eliminated. The new mysql.lsp may also work on 4.x versions, but I haven't tried.

The modules crypto.lsp and zlib.lsp have also been tested on 64-bit newLISP and do not need any changes, except for adding the appropiate library paths.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

... sqlite3.lsp has been added too and adapts to either 32 or 64-bit mode:

http://www.newlisp.org/downloads/sqlite3.lsp

gmp.lsp runs without modifications on 64-bit

TedWalther
Posts: 608
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC
Contact:

Post by TedWalther »

Great news. Here is a diff to silence some compilation warnings on OpenBSD:

http://reactor-core.org/newlisp.diff.txt

TedWalther
Posts: 608
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC
Contact:

Post by TedWalther »

Another little diff, just a documentation typo:

--- /home/ted/newlisp-10.0.5.old/modules/mysql.lsp Tue Apr 28 14:08:18 2009
+++ mysql.lsp Tue Apr 28 18:07:56 2009
@@ -229,7 +229,7 @@
(query "show databases;")
(fetch-all))

-;; @syntax (MySQL:table)
+;; @syntax (MySQL:tables)
;; @return A list of tables in the database.
;; Performs a 'show tables;' query.

Locked