CORE POS - Fannie
The CORE POS back end
|
Public Member Functions | |
run () | |
Public Member Functions inherited from FannieTask | |
setThreshold ($t) | |
setConfig (FannieConfig $fc) | |
setLogger (FannieLogger $fl) | |
setOptions ($o) | |
setArguments ($a) | |
run () | |
cronMsg ($str, $severity=6) | |
lazyGetOpt ($argv) | |
Public Attributes | |
$name = 'One-time: Convert Archive Format' | |
$description | |
$schedulable = false | |
Public Attributes inherited from FannieTask | |
$name = 'Fannie Task' | |
$description = 'Information about the task' | |
$default_schedule | |
$schedulable = true | |
const | TASK_NO_ERROR = 0 |
const | TASK_TRIVIAL_ERROR = 1 |
const | TASK_SMALL_ERROR = 2 |
const | TASK_MEDIUM_ERROR = 3 |
const | TASK_LARGE_ERROR = 4 |
const | TASK_WORST_ERROR = 5 |
Additional Inherited Members | |
Protected Attributes inherited from FannieTask | |
$error_threshold = 99 | |
$config = null | |
$logger = null | |
$options = array() | |
$arguments = array() | |
ConvertArchiveMonthlyToPartitions::run | ( | ) |
Find monthly tables
Check for basic errors before attempting to copy any data
Get partition info from CREATE TABLE statement
Create all necessary partitions
All the partitioning code is MySQL specific anyway so using "LIMIT" doesn't really matter
Finally, copy data
ConvertArchiveMonthlyToPartitions::$description |