anchor.diff:  			send_query(change_prompt(P#dp{buffer = []}),lists:reverse(P#dp.buffer));
   		{commit,B} ->
   			cmd(cmd(P,<<>>,commit),B);
  +		_ when P#dp.curdb == actordb ->
  +			append(P,Bin);
  +		% Let actordb deal with it, unless it is config db
  +		{fail,_} when P#dp.curdb /= config andalso (P#dp.wait orelse P#dp.curdb == schema)  ->
  +			append(P,Bin);
  +		{fail,_} ->
  +			print(P,"Unrecognized command.");
  +		R when element(1,R) == show ->
  +			cmd_show(P,R);
  +		{actor,Type,SubType} ->
  +			cmd_actor(P,{actor,Type,SubType},Bin);
   		% create_table ->
   		% 	change_prompt(cmd_create(P,Bin));
   		R when element(1,R) == select ->
  
positive.code: 	"  -h   print this help and exit\n"++
  	"  -u   username\n"++
  	"  -p   password\n"++
  	"  -f   <file> execute statements from file and exit\n"++
  	"  -w   wait for commit to send query to actordb\n",
  	print(P,"Call with: actordb_console -u username -p password IP[:ThriftPort]\n"++L),
  	halt(1);
  parse_args(P,["-f",File|T]) ->
  
negative.code: 	P;
  cmd(P,<<"h">>) ->
  	print(P,?COMMANDS);
  cmd(P,<<"c">>) ->
  	cmd(P,<<>>,commit);
  cmd(P,<<"C">>) ->
  	cmd(P,<<>>,commit);
  cmd(P,<<"p">>) ->
  	cmd(P,<<>>,print);
  cmd(P,<<"P">>) ->
  	cmd(P,<<>>,print);
  cmd(P,<<"r">>) ->
  	cmd(P,<<>>,rollback);
  cmd(P,<<"R">>) ->
  	cmd(P,<<>>,rollback);
  cmd(_P,<<"q">>) ->
  	case whereis(wxproc) of
  		undefined ->
  