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

Started by Lutz, April 28, 2009, 06:39:23 AM

Previous topic - Next topic

Lutz

A new mysql.lsp here:



http://www.newlisp.org/downloads/mysql.lsp">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

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



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



gmp.lsp runs without modifications on 64-bit

TedWalther

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



http://reactor-core.org/newlisp.diff.txt">http://reactor-core.org/newlisp.diff.txt
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence.  Nine months later, they left with a baby named newLISP.  The women of the ivory towers wept and wailed.  \"Abomination!\" they cried.

TedWalther

#3
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.
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence.  Nine months later, they left with a baby named newLISP.  The women of the ivory towers wept and wailed.  \"Abomination!\" they cried.