WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-1' AND a.event_end >= '2019-12-1' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-1') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-1') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-1')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-1') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-1') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-1'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-1') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-1') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-1'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-1' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-1' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-1') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-2' AND a.event_end >= '2019-12-2' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-2') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-2') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-2')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-2') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-2') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-2'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-2') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-2') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-2'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-2' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-2' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-2') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-3' AND a.event_end >= '2019-12-3' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-3') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-3') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-3')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-3') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-3') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-3'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-3') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-3') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-3'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-3' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-3' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-3') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-4' AND a.event_end >= '2019-12-4' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-4') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-4') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-4')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-4') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-4') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-4'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-4') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-4') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-4'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-4' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-4' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-4') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-5' AND a.event_end >= '2019-12-5' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-5') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-5') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-5')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-5') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-5') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-5'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-5') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-5') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-5'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-5' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-5' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-5') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-6' AND a.event_end >= '2019-12-6' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-6') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-6') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-6')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-6') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-6') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-6'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-6') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-6') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-6'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-6' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-6' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-6') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-7' AND a.event_end >= '2019-12-7' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-7') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-7') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-7')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-7') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-7') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-7'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-7') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-7') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-7'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-7' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-7' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-7') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-8' AND a.event_end >= '2019-12-8' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-8') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-8') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-8')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-8') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-8') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-8'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-8') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-8') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-8'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-8' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-8' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-8') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-9' AND a.event_end >= '2019-12-9' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-9') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-9') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-9')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-9') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-9') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-9'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-9') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-9') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-9'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-9' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-9' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-9') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-10' AND a.event_end >= '2019-12-10' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-10') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-10') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-10')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-10') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-10') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-10'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-10') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-10') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-10'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-10' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-10' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-10') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-11' AND a.event_end >= '2019-12-11' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-11') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-11') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-11')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-11') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-11') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-11'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-11') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-11') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-11'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-11' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-11' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-11') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-12' AND a.event_end >= '2019-12-12' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-12') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-12') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-12')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-12') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-12') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-12'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-12') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-12') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-12'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-12' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-12' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-12') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-13' AND a.event_end >= '2019-12-13' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-13') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-13') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-13')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-13') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-13') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-13'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-13') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-13') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-13'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-13' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-13' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-13') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-14' AND a.event_end >= '2019-12-14' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-14') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-14') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-14')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-14') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-14') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-14'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-14') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-14') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-14'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-14' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-14' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-14') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-15' AND a.event_end >= '2019-12-15' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-15') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-15') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-15')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-15') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-15') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-15'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-15') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-15') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-15'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-15' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-15' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-15') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-16' AND a.event_end >= '2019-12-16' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-16') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-16') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-16')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-16') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-16') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-16'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-16') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-16') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-16'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-16' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-16' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-16') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-17' AND a.event_end >= '2019-12-17' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-17') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-17') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-17')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-17') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-17') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-17'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-17') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-17') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-17'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-17' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-17' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-17') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-18' AND a.event_end >= '2019-12-18' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-18') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-18') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-18')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-18') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-18') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-18'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-18') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-18') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-18'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-18' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-18' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-18') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-19' AND a.event_end >= '2019-12-19' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-19') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-19') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-19')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-19') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-19') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-19'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-19') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-19') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-19'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-19' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-19' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-19') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-20' AND a.event_end >= '2019-12-20' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-20') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-20') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-20')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-20') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-20') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-20'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-20') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-20') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-20'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-20' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-20' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-20') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-21' AND a.event_end >= '2019-12-21' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-21') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-21') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-21')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-21') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-21') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-21'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-21') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-21') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-21'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-21' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-21' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-21') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-22' AND a.event_end >= '2019-12-22' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-22') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-22') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-22')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-22') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-22') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-22'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-22') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-22') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-22'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-22' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-22' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-22') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-23' AND a.event_end >= '2019-12-23' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-23') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-23') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-23')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-23') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-23') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-23'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-23') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-23') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-23'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-23' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-23' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-23') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-24' AND a.event_end >= '2019-12-24' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-24') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-24') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-24')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-24') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-24') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-24'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-24') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-24') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-24'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-24' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-24' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-24') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-25' AND a.event_end >= '2019-12-25' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-25') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-25') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-25')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-25') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-25') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-25'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-25') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-25') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-25'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-25' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-25' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-25') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-26' AND a.event_end >= '2019-12-26' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-26') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-26') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-26')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-26') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-26') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-26'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-26') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-26') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-26'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-26' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-26' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-26') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-27' AND a.event_end >= '2019-12-27' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-27') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-27') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-27')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-27') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-27') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-27'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-27') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-27') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-27'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-27' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-27' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-27') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-28' AND a.event_end >= '2019-12-28' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-28') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-28') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-28')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-28') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-28') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-28'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-28') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-28') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-28'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-28' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-28' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-28') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-29' AND a.event_end >= '2019-12-29' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-29') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-29') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-29')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-29') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-29') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-29'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-29') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-29') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-29'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-29' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-29' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-29') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-30' AND a.event_end >= '2019-12-30' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-30') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-30') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-30')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-30') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-30') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-30'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-30') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-30') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-30'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-30' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-30' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-30') - TO_DAYS(i.event_end)) ORDER BY event_id

WordPress database error: [Can't create/write to file '/tmp/#sql_4a7_0.MYI' (Errcode: 122 - Internal (unspecified) error in handler)]
SELECT a.*,'Normal' AS type FROM wp_cfdv_calendar AS a WHERE a.event_begin <= '2019-12-31' AND a.event_end >= '2019-12-31' AND a.event_recur = 'S' UNION ALL SELECT b.*,'Yearly' AS type FROM wp_cfdv_calendar AS b WHERE b.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-31') >= EXTRACT(YEAR FROM b.event_begin) AND b.event_repeats = 0 UNION ALL SELECT c.*,'Yearly' AS type FROM wp_cfdv_calendar AS c WHERE c.event_recur = 'Y' AND EXTRACT(YEAR FROM '2019-12-31') >= EXTRACT(YEAR FROM c.event_begin) AND c.event_repeats != 0 AND (EXTRACT(YEAR FROM '2019-12-31')-EXTRACT(YEAR FROM c.event_begin)) <= c.event_repeats UNION ALL SELECT d.*,'Monthly' AS type FROM wp_cfdv_calendar AS d WHERE d.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-31') >= EXTRACT(YEAR FROM d.event_begin) AND d.event_repeats = 0 UNION ALL SELECT e.*,'Monthly' AS type FROM wp_cfdv_calendar AS e WHERE e.event_recur = 'M' AND EXTRACT(YEAR FROM '2019-12-31') >= EXTRACT(YEAR FROM e.event_begin) AND e.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-31'),EXTRACT(YEAR_MONTH FROM e.event_begin))) <= e.event_repeats UNION ALL SELECT f.*,'MonthSun' AS type FROM wp_cfdv_calendar AS f WHERE f.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-31') >= EXTRACT(YEAR FROM f.event_begin) AND f.event_repeats = 0 UNION ALL SELECT g.*,'MonthSun' AS type FROM wp_cfdv_calendar AS g WHERE g.event_recur = 'U' AND EXTRACT(YEAR FROM '2019-12-31') >= EXTRACT(YEAR FROM g.event_begin) AND g.event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '2019-12-31'),EXTRACT(YEAR_MONTH FROM g.event_begin))) <= g.event_repeats UNION ALL SELECT h.*,'Weekly' AS type FROM wp_cfdv_calendar AS h WHERE h.event_recur = 'W' AND '2019-12-31' >= h.event_begin AND h.event_repeats = 0 UNION ALL SELECT i.*,'Weekly' AS type FROM wp_cfdv_calendar AS i WHERE i.event_recur = 'W' AND '2019-12-31' >= i.event_begin AND i.event_repeats != 0 AND (i.event_repeats*7) >= (TO_DAYS('2019-12-31') - TO_DAYS(i.event_end)) ORDER BY event_id

« Prev December 2019 Next »
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
            1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31