We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 55b91ba7 authored by clint's avatar clint

don't cache that as it could lead to constraint violation

parent 0dfa6887
......@@ -77,7 +77,7 @@ function createAlbumIfNew($artist, $album) {
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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment