Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82516 Details for
Bug 126754
bacula-web (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/usr/local/portage/www-apps/bacula-web/files/bacula-web-1.38.5-nulldate.patch
bacula-web-1.38.5-nulldate.patch (text/plain), 1.90 KB, created by
John M. Drescher
on 2006-03-18 20:31:10 UTC
(
hide
)
Description:
/usr/local/portage/www-apps/bacula-web/files/bacula-web-1.38.5-nulldate.patch
Filename:
MIME Type:
Creator:
John M. Drescher
Created:
2006-03-18 20:31:10 UTC
Size:
1.90 KB
patch
obsolete
>--- classes.old.inc 2006-03-12 00:38:33.000000000 -0500 >+++ classes.inc 2006-03-12 00:39:17.000000000 -0500 >@@ -124,9 +124,9 @@ > $res = $this->link->query("SELECT Name FROM Pool"); > while ( $tmp =& $res->fetchRow() ) { > if ($this->driver == "mysql" ) >- $result = $this->link->query("select Media.VolumeName, Media.VolBytes,Media.VolStatus,Pool.Name,Media.MediaType,Media.LastWritten,FROM_UNIXTIME(UNIX_TIMESTAMP(Media.LastWritten)+Media.VolRetention ) as expire from Pool LEFT JOIN Media ON Media.PoolId=Pool.PoolId where Name='$tmp[0]' order by Media.VolumeName"); >+ $result = $this->link->query("select Media.VolumeName, Media.VolBytes,Media.VolStatus,Pool.Name,Media.MediaType,Media.LastWritten,FROM_UNIXTIME(UNIX_TIMESTAMP(Media.LastWritten)+Media.VolRetention ) as expire from Pool LEFT JOIN Media ON Media.PoolId=Pool.PoolId where Name='$tmp[0]' AND Media.LastWritten IS NOT NULL order by Media.VolumeName"); > else if ($this->driver == "pgsql") >- $result = $this->link->query("select Media.VolumeName, Media.VolBytes,Media.VolStatus,Pool.Name,Media.MediaType,Media.LastWritten, Media.LastWritten + Media.VolRetention * interval '1 second' as expire from Pool LEFT JOIN Media ON Media.PoolId=Pool.PoolId where Name='$tmp[0]' order by Media.VolumeName"); >+ $result = $this->link->query("select Media.VolumeName, Media.VolBytes,Media.VolStatus,Pool.Name,Media.MediaType,Media.LastWritten, Media.LastWritten + Media.VolRetention * interval '1 second' as expire from Pool LEFT JOIN Media ON Media.PoolId=Pool.PoolId where Name='$tmp[0]' AND Media.LastWritten IS NOT NULL order by Media.VolumeName"); > while ( $tmp1 = $result->fetchRow() ) { > $pos = array_key_exists($tmp[0],$volume); > if ($pos != FALSE)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 126754
:
82514
|
82515
| 82516 |
82517
|
82730
|
82731
|
82864
|
82865