log() SQL function only supports natural logarithm #3416
Last updated: 2019-04-30 12:36:04 +0200
Date: 2014-01-07 17:01:49 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.68 Safari/537.36
While it is great to have a natural logarithm function in MonetDB, sometimes other bases are required. For example, MySQL and SQL Server support a second parameter to LOG(), which defines the base.
Steps to Reproduce:
SELECT: no such binary operator 'log(tinyint,tinyint)'
Date: 2015-08-31 15:51:24 +0200
Created attachment 348
this patch adds the functionality described in this issue. Hopefully you'll find it useful. I have only tried this on Linux, but I don't expect it to create problems on other platforms.
Date: 2015-08-31 16:06:28 +0200
Created attachment 349
I think I made a mistake with the previous patch (I used hg log -r ), and it did not keep the original commit message. This one was created using hg export, so hopefully it should be OK.
Sorry about this, I am new with Mercurial :)
Date: 2019-01-22 15:07:27 +0100
For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=a116ae0c1407
The text was updated successfully, but these errors were encountered: