empire-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eike Kettner <n...@eknet.org>
Subject datetime-phrase issue in DBDatabaseDriverDerby
Date Sat, 25 Jul 2009 00:56:40 GMT

Hello

I found a small bug in DBDatabaseDriverDerby. The phrase for obtaining
the current date-time is specified as "NOW()". The Derby doc says to
use CURRENT_TIMESTAMP. I have tried this a minute ago and it worked
for me.

DBDatabaseDriverDerby (195):
-case SQL_CURRENT_DATETIME:        return "NOW()";
+case SQL_CURRENT_DATETIME:        return "CURRENT_TIMESTAMP";


Best Regards
Eike

Mime
View raw message