Lines Matching full:testctrl
3285 if( c=='t' && n>=8 && strncmp(azArg[0], "testctrl", n)==0 && nArg>=2 ){
3305 int testctrl = -1;
3310 /* convert testctrl text option to value. allow any unique prefix
3315 if( testctrl<0 ){
3316 testctrl = aCtrl[i].ctrlCode;
3319 testctrl = -1;
3324 if( testctrl<0 ) testctrl = (int)integerValue(azArg[1]);
3325 if( (testctrl<SQLITE_TESTCTRL_FIRST) || (testctrl>SQLITE_TESTCTRL_LAST) ){
3326 fprintf(stderr,"Error: invalid testctrl option: %s\n", azArg[1]);
3328 switch(testctrl){
3335 rc = sqlite3_test_control(testctrl, p->db, opt);
3338 fprintf(stderr,"Error: testctrl %s takes a single int option\n",
3349 rc = sqlite3_test_control(testctrl);
3352 fprintf(stderr,"Error: testctrl %s takes no options\n", azArg[1]);
3360 rc = sqlite3_test_control(testctrl, opt);
3363 fprintf(stderr,"Error: testctrl %s takes a single unsigned"
3373 rc = sqlite3_test_control(testctrl, opt);
3376 fprintf(stderr,"Error: testctrl %s takes a single int option\n",
3386 rc = sqlite3_test_control(testctrl, opt);
3389 fprintf(stderr,"Error: testctrl %s takes a single char * option\n",
3400 fprintf(stderr,"Error: CLI support for testctrl %s not implemented\n",