phpOpenTracker/phpOpenTracker/DB mysql_merge.php,1.22.2.6,1.22.2.7
Sebastian Bergmann <[email protected]> Mon, 12 Apr 2004 08:12:03 +0000
| Newsgroups | gmane.comp.web.phpopentracker.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/phpopencounter/phpOpenTracker/phpOpenTracker/DB
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32546
Modified Files:
Tag: phpOpenTracker_1
mysql_merge.php
Log Message:
DocComment fixes. Fix _createMergeTable() calls.
Index: mysql_merge.php
===================================================================
RCS file: /cvsroot/phpopencounter/phpOpenTracker/phpOpenTracker/DB/Attic/mysql_merge.php,v
retrieving revision 1.22.2.6
retrieving revision 1.22.2.7
diff -u -d -r1.22.2.6 -r1.22.2.7
--- mysql_merge.php 10 Apr 2004 16:03:53 -0000 1.22.2.6
+++ mysql_merge.php 12 Apr 2004 08:12:01 -0000 1.22.2.7
@@ -32,10 +32,10 @@
/**
* Schema for the pot_accesslog table.
*
- * @var string $accesslogSchema
+ * @var string
* @access private
*/
- var $accesslogSchema =
+ var $_accesslogSchema =
"CREATE %s TABLE %s %s (
accesslog_id INT(11) NOT NULL,
timestamp INT(10) UNSIGNED NOT NULL,
@@ -54,10 +54,10 @@
/**
* Schema for the pot_visitors table.
*
- * @var string $visitorsSchema
+ * @var string
* @access private
*/
- var $visitorsSchema =
+ var $_visitorsSchema =
"CREATE %s TABLE %s %s (
accesslog_id INT(11) NOT NULL,
visitor_id INT(11) NOT NULL,
@@ -180,7 +180,7 @@
parent::query(
sprintf(
- ($type == 'accesslog') ? $this->accesslogSchema : $this->visitorsSchema,
+ ($type == 'accesslog') ? $this->_accesslogSchema : $this->_visitorsSchema,
$temporary ? 'TEMPORARY' : '',
!$temporary ? 'IF NOT EXISTS' : '',
$name,
@@ -312,7 +312,7 @@
function _createNewTable($type, $name) {
parent::query(
sprintf(
- ($type == 'accesslog') ? $this->accesslogSchema : $this->visitorsSchema,
+ ($type == 'accesslog') ? $this->_accesslogSchema : $this->_visitorsSchema,
'',
'IF NOT EXISTS',
$name,
@@ -595,7 +595,7 @@
}
}
- $this->createMergeTable(
+ $this->_createMergeTable(
$this->config['accesslog_table'] . '_temporary',
'accesslog',
$accesslogTables,
@@ -603,7 +603,7 @@
true
);
- $this->createMergeTable(
+ $this->_createMergeTable(
$this->config['visitors_table'] . '_temporary',
'visitors',
$visitorsTables,
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click