Re: Bug in sql/oodml.lisp

"Scott L. Burson" <[email protected]> Tue, 25 Feb 2014 11:43:01 -0800
Newsgroups gmane.lisp.clsql.general
Message-ID <CAF5LJ4CikPLzFF0hofpZNBN3RzoPtmz+Jb78-umna5HHihaYpQ@mail.gmail.com>
> Date: Mon, 24 Feb 2014 14:04:34 -0500
> From: Russ Tyndall <[email protected]>
>
> I am hesitant to set *print-base* as it would effectively prevent
> printing numbers in different base systems to the database. Probably not
> a big deal, but it would seem like something you might want if you
> already have your system set to interact in another base.

I am strongly of the opinion that you should also bind *print-base*.
I sometimes set it to 16. in the REPL for interactive purposes; I
would never want this to affect the internals of CLSQL.

If you really think someone might want to write numbers to the
database in some other base, you could introduce
clsql:*database-print-base* or some such and bind *print-base* to that
instead of to a constant 10.  But I'll wager no one would ever use
this feature.

-- Scott