Home | History | Annotate | Download | only in dist

Lines Matching full:testctrl

6421   if( c=='t' && n>=8 && strncmp(azArg[0], "testctrl", n)==0 && nArg>=2 ){
6443 int testctrl = -1;
6448 /* convert testctrl text option to value. allow any unique prefix
6453 if( testctrl<0 ){
6454 testctrl = aCtrl[i].ctrlCode;
6457 testctrl = -1;
6462 if( testctrl<0 ) testctrl = (int)integerValue(azArg[1]);
6463 if( (testctrl<SQLITE_TESTCTRL_FIRST) || (testctrl>SQLITE_TESTCTRL_LAST) ){
6464 utf8_printf(stderr,"Error: invalid testctrl option: %s\n", azArg[1]);
6466 switch(testctrl){
6473 rc2 = sqlite3_test_control(testctrl, p->db, opt);
6476 utf8_printf(stderr,"Error: testctrl %s takes a single int option\n",
6487 rc2 = sqlite3_test_control(testctrl);
6490 utf8_printf(stderr,"Error: testctrl %s takes no options\n",
6499 rc2 = sqlite3_test_control(testctrl, opt);
6502 utf8_printf(stderr,"Error: testctrl %s takes a single unsigned"
6513 rc2 = sqlite3_test_control(testctrl, opt);
6516 utf8_printf(stderr,"Error: testctrl %s takes a single int option\n",
6526 rc2 = sqlite3_test_control(testctrl, opt);
6530 "Error: testctrl %s takes a single char * option\n",
6538 rc2 = sqlite3_test_control(testctrl, p->db,
6544 raw_printf(stderr,"Usage: .testctrl imposter dbName onoff tnum\n");
6554 "Error: CLI support for testctrl %s not implemented\n",