madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22864: LJSUP-13604: Local cache [internal]

Committer: sbelyaev
LJSUP-13604: Local cache [internal]
U   trunk/cgi-bin/LJ/LocalCache/BerkeleyDB.pm
U   trunk/cgi-bin/LJ/LocalCache.pm
Modified: trunk/cgi-bin/LJ/LocalCache/BerkeleyDB.pm
===================================================================
--- trunk/cgi-bin/LJ/LocalCache/BerkeleyDB.pm	2012-09-11 13:49:55 UTC (rev 22863)
+++ trunk/cgi-bin/LJ/LocalCache/BerkeleyDB.pm	2012-09-11 13:55:26 UTC (rev 22864)
@@ -29,7 +29,7 @@
         return $connection;
     }
 
-    unless(-d $LJ::LJ_LOCAL_BDB_HOME) {    
+    unless(-d $LJ::LJ_LOCAL_BDB_HOME) {
         mkdir $LJ::LJ_LOCAL_BDB_HOME;
     }
 

Modified: trunk/cgi-bin/LJ/LocalCache.pm
===================================================================
--- trunk/cgi-bin/LJ/LocalCache.pm	2012-09-11 13:49:55 UTC (rev 22863)
+++ trunk/cgi-bin/LJ/LocalCache.pm	2012-09-11 13:55:26 UTC (rev 22864)
@@ -38,7 +38,7 @@
 
 sub get_multi {
     my ($class, $keys, $not_fetched_keys) = @_;
-    $not_fetched_keys = $keys;
+    @$not_fetched_keys = @$keys;
     return undef;
 }
 

Tags: livejournal, madeon, pm, sbelyaev
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments