Loading modules/Analytics/Database/Migrations/2017-12-01-210000_add_analytics_podcasts_procedure.php +2 −2 Original line number Diff line number Diff line Loading @@ -50,8 +50,8 @@ class AddAnalyticsPodcastsProcedure extends Migration SET @current_hour = HOUR(@current_datetime); IF NOT `p_bot` THEN INSERT INTO `{$prefix}analytics_podcasts`(`podcast_id`, `date`) VALUES (p_podcast_id, @current_date) INSERT INTO `{$prefix}analytics_podcasts`(`podcast_id`, `date`, `duration`, `bandwidth`) VALUES (p_podcast_id, @current_date, `p_duration`, `p_filesize`) ON DUPLICATE KEY UPDATE `duration`=`duration`+`p_duration`, `bandwidth`=`bandwidth`+`p_filesize`, Loading Loading
modules/Analytics/Database/Migrations/2017-12-01-210000_add_analytics_podcasts_procedure.php +2 −2 Original line number Diff line number Diff line Loading @@ -50,8 +50,8 @@ class AddAnalyticsPodcastsProcedure extends Migration SET @current_hour = HOUR(@current_datetime); IF NOT `p_bot` THEN INSERT INTO `{$prefix}analytics_podcasts`(`podcast_id`, `date`) VALUES (p_podcast_id, @current_date) INSERT INTO `{$prefix}analytics_podcasts`(`podcast_id`, `date`, `duration`, `bandwidth`) VALUES (p_podcast_id, @current_date, `p_duration`, `p_filesize`) ON DUPLICATE KEY UPDATE `duration`=`duration`+`p_duration`, `bandwidth`=`bandwidth`+`p_filesize`, Loading