Home | History | Annotate | Download | only in orig

Lines Matching full:testctrl

3265   if( c=='t' && n>=8 && strncmp(azArg[0], "testctrl", n)==0 && nArg>=2 ){
3285 int testctrl = -1;
3290 /* convert testctrl text option to value. allow any unique prefix
3295 if( testctrl<0 ){
3296 testctrl = aCtrl[i].ctrlCode;
3299 testctrl = -1;
3304 if( testctrl<0 ) testctrl = (int)integerValue(azArg[1]);
3305 if( (testctrl<SQLITE_TESTCTRL_FIRST) || (testctrl>SQLITE_TESTCTRL_LAST) ){
3306 fprintf(stderr,"Error: invalid testctrl option: %s\n", azArg[1]);
3308 switch(testctrl){
3315 rc = sqlite3_test_control(testctrl, p->db, opt);
3318 fprintf(stderr,"Error: testctrl %s takes a single int option\n",
3329 rc = sqlite3_test_control(testctrl);
3332 fprintf(stderr,"Error: testctrl %s takes no options\n", azArg[1]);
3340 rc = sqlite3_test_control(testctrl, opt);
3343 fprintf(stderr,"Error: testctrl %s takes a single unsigned"
3353 rc = sqlite3_test_control(testctrl, opt);
3356 fprintf(stderr,"Error: testctrl %s takes a single int option\n",
3366 rc = sqlite3_test_control(testctrl, opt);
3369 fprintf(stderr,"Error: testctrl %s takes a single char * option\n",
3380 fprintf(stderr,"Error: CLI support for testctrl %s not implemented\n",