Cumulusmx.db (preserving history): Difference between revisions

m
Line 32: Line 32:
"HiPressure" float )
"HiPressure" float )


Whenever I have viewed this table (with phpLiteAdmin), there has been zero rows within the table.
Whenever I have viewed this table (with phpLiteAdmin), there has been zero rows within the table.  This is because although MX creates the table, currently it does not actually use it.


Unless anyone else knows differently, I believe this table was created by Steve Loft because he was unsure whether to use text files or database files in Cumulus 2 and 3Someone suggested he used SQLite3 database tables, and I believe this table represents Steve Loft's attempt to replace the [[Standard log files|Standard log text files]] with a database equivalent.
In [https://cumulus.hosiene.co.uk/viewtopic.php?p=123594#p123594 this forum post] Steve Loft describes this table as being for a possible future enhancement.  He gives no clue as to why he selected the above columns or what he was thinking about using them forThe table name suggests he was planning to replace the [[Standard log files|Standard log text files]] with a database equivalent.  I suspect he was actually thinking about implementing [[Monthly_log_files#Enhancement never implemented]].


I also assume that when Mark Crossley took over MX development, he found this database table in the package Steve Loft left, and not then understanding how the code worked, he kept this table and kept the code (one reference is in module [[Cs_Code_Modules#Cumulus.cs|Cumulus.cs]]) that created the database and this table.
This table still exists in release 3.12.0 that introduces the second table described below.  I wonder whether MX in the future will actually implement use of this first table.


=Release 3.12.0 onwards=
=Release 3.12.0 onwards=
5,838

edits