From 8e2e3ba3d5ec6c7b3b454392b952f8f4741ec6b8 Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 28 Jul 2009 12:01:32 +0000 Subject: [PATCH] Fixed audio processing script 3 ping error output now only in debug mode git-svn-id: svn://192.168.202.10@1194 3d104415-ff17-0410-8863-d5cf3c621b8a --- bin/AST_CRON_audio_3_ftp.pl | 2 +- extras/upgrade_2.2.0.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/AST_CRON_audio_3_ftp.pl b/bin/AST_CRON_audio_3_ftp.pl index 3a6b4b4d..c0f66b1f 100644 --- a/bin/AST_CRON_audio_3_ftp.pl +++ b/bin/AST_CRON_audio_3_ftp.pl @@ -306,7 +306,7 @@ foreach(@FILES) } else { - print "ERROR: Could not ping server $VARFTP_host\n"; + if($DB){print "ERROR: Could not ping server $VARFTP_host\n";} } ### END Remote file transfer diff --git a/extras/upgrade_2.2.0.sql b/extras/upgrade_2.2.0.sql index f42dc547..21a204d1 100644 --- a/extras/upgrade_2.2.0.sql +++ b/extras/upgrade_2.2.0.sql @@ -330,8 +330,8 @@ last_attempt_days SMALLINT(5) UNSIGNED NOT NULL, orders SMALLINT(5) NOT NULL, net_sales SMALLINT(5) NOT NULL, net_sales_ly SMALLINT(5) NOT NULL, -percent_variance SMALLINT(5) NOT NULL, -imu SMALLINT(5) NOT NULL, +percent_variance VARCHAR(10) NOT NULL, +imu VARCHAR(10) NOT NULL, aov SMALLINT(5) NOT NULL, returns SMALLINT(5) NOT NULL, rank SMALLINT(5) NOT NULL