[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1521] don't cache that as it could lead to constraint
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1521] don't cache that as it could lead to constraint violation |
Date: |
Tue, 12 May 2009 02:46:45 +0000 |
Revision: 1521
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1521
Author: clint
Date: 2009-05-12 02:46:45 +0000 (Tue, 12 May 2009)
Log Message:
-----------
don't cache that as it could lead to constraint violation
Modified Paths:
--------------
trunk/gnukebox/scrobble-utils.php
Modified: trunk/gnukebox/scrobble-utils.php
===================================================================
--- trunk/gnukebox/scrobble-utils.php 2009-05-12 02:39:40 UTC (rev 1520)
+++ trunk/gnukebox/scrobble-utils.php 2009-05-12 02:46:45 UTC (rev 1521)
@@ -77,7 +77,7 @@
global $adodb;
try {
- $name = $adodb->CacheGetOne(600, "SELECT name FROM Album WHERE
name = " . ($album) . " AND artist_name = " . ($artist));
+ $name = $adodb->GetOne("SELECT name FROM Album WHERE name = " .
($album) . " AND artist_name = " . ($artist));
}
catch (exception $e) {
die("FAILED alb " . $e->getMessage() . "\n");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1521] don't cache that as it could lead to constraint violation,
Clint Adams <=