From: Marco v. W. <ma...@us...> - 2010-04-27 19:06:35
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Bacula". The branch, master has been updated via f4507088722c328f22edcbbd7a1ae20e29fe4d9b (commit) from 7b1d386f5f761180dfe893abce0f5417da8968d0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f4507088722c328f22edcbbd7a1ae20e29fe4d9b Author: Marco van Wieringen <mv...@pl...> Date: Tue Apr 27 21:05:38 2010 +0200 Change Ingres query filter to set a realy early timestamp instead of an empty string which doesn't seem to work on all Ingres versions. ----------------------------------------------------------------------- Summary of changes: diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index 9c3a7c3..7ed398e 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -954,7 +954,7 @@ const char *sql_media_order_most_recently_written[5] = { /* SQLite3 */ "ORDER BY LastWritten IS NULL,LastWritten DESC,MediaId", /* Ingres */ - "ORDER BY IFNULL(LastWritten, '') DESC,MediaId" + "ORDER BY IFNULL(LastWritten, '1970-01-01 00:00:00') DESC,MediaId" }; const char *sql_get_max_connections[5] = { hooks/post-receive -- Bacula |