From 058666836f605730bc0613ad7e3b3e6abbec6af1 Mon Sep 17 00:00:00 2001 From: rylon Date: Thu, 9 Jul 2015 03:47:29 +0200 Subject: [PATCH] fixed typo for sqlite extraction --- dbd/qq/SYS_LOG_OLDEST.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbd/qq/SYS_LOG_OLDEST.php b/dbd/qq/SYS_LOG_OLDEST.php index 6cc8836..e5b1d8f 100644 --- a/dbd/qq/SYS_LOG_OLDEST.php +++ b/dbd/qq/SYS_LOG_OLDEST.php @@ -5,7 +5,7 @@ class SYS_LOG_OLDEST extends \SYSTEM\DB\QQ { public static function pqsql(){return 'SELECT EXTRACT(MONTH FROM time)::INTEGER as month, EXTRACT(YEAR FROM time)::INTEGER as year FROM '.\SYSTEM\DBD\system_log::NAME_PG.' ORDER BY time ASC LIMIT 1'; } - public static function msql(){return + public static function mysql(){return 'SELECT MONTH(time) as month, YEAR(time) as year FROM '.\SYSTEM\DBD\system_log::NAME_MYS.' ORDER BY time ASC LIMIT 1'; } } \ No newline at end of file