From f086f6ec3ee8560ddfe3bc5184b436f4eeae25c9 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Wed, 2 Nov 2011 16:41:06 +0100 Subject: [PATCH] Added missing functions into disk logstream source --- src/classes/logstreamdisk.class.php | 98 ++++++++++++++++++++++++++--- 1 file changed, 91 insertions(+), 7 deletions(-) diff --git a/src/classes/logstreamdisk.class.php b/src/classes/logstreamdisk.class.php index 875098a..cb1af2d 100644 --- a/src/classes/logstreamdisk.class.php +++ b/src/classes/logstreamdisk.class.php @@ -92,13 +92,6 @@ class LogStreamDisk extends LogStream { return SUCCESS; } - /* - * Helper function to clear the current querystring! - */ - public function ResetFilters() - { - // nothing todo in this logstream - } /** * Close the file. @@ -677,6 +670,97 @@ class LogStreamDisk extends LogStream { } + /* + * Helper function to clear the current querystring! + */ + public function ResetFilters() + { + // nothing todo in this logstream + return SUCCESS; + } + + + /* + * Helper function to verify fields | not needed in disk logstream! + */ + public abstract function VerifyFields( $arrProperitesIn ) + { + return SUCCESS; + } + + + /* + * Helper function to create missing fields | not needed in disk logstream! + */ + public abstract function CreateMissingFields( $arrProperitesIn ) + { + return SUCCESS; + } + + + /* + * Helper function to verify indexes | not needed in disk logstream! + */ + public abstract function VerifyIndexes( $arrProperitesIn ) + { + return SUCCESS; + } + + + /* + * Helper function to create missing indexes | not needed in disk logstream! + */ + public abstract function CreateMissingIndexes( $arrProperitesIn ) + { + return SUCCESS; + } + + + /* + * Helper function to verify triggers | not needed in disk logstream! + */ + public abstract function VerifyChecksumTrigger( $myTriggerProperty ) + { + return SUCCESS; + } + + + /* + * Helper function to verify triggers | not needed in disk logstream! + */ + public abstract function CreateMissingTrigger( $myTriggerProperty, $myCheckSumProperty ) + { + return SUCCESS; + } + + + /* + * Helper function to create missing triggers | not needed in disk logstream! + */ + public abstract function GetCreateMissingTriggerSQL( $myDBTriggerField, $myDBTriggerCheckSumField ) + { + return SUCCESS; + } + + + /* + * Helper function to verify checksum field | not needed in disk logstream! + */ + public abstract function VerifyChecksumField( ) + { + return SUCCESS; + } + + + /* + * Helper function to correct the checksum field | not needed in disk logstream! + */ + public abstract function ChangeChecksumFieldUnsigned( ) + { + return SUCCESS; + } + + /** * Implementation of ConsolidateItemListByField *