WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]
SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('in-progress') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]
SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

ifdef | Loop and Break

ifdef

The ifdef directive makes substitutions based on whether a particular identifier is defined.

Example

#define USD 1 // first of all we have defined a macro USD

#ifdef USD	       		// here preprocessor cheking,  if USD is defined or not
#define currency_rate 50     // if it's defined, currency_rate is equals to 50
#endif        			// end of ifdef, these three lines are finished now

#include<stdio.h>

int main()
{		
	int rs;
	// currency_rate is defined in preprocessor, 
    // no need define (int currency_rate)
	rs = 10 * currency_rate;   
    printf ("%d\n", rs);
	getchar();
	return 0;
}
Share

You may also like...