Only change DB in TestLogic if it differs
Only change DB in TestLogic if it differs

Since `SET DATABASE` uses the transaction, this crashes
some tests which expect transaction retries. Often, this
does not affect tests which get checked in, but their
earlier version prior to fixing a bug.

vivekmenezes/cockroach,sunya123/cockroach,arjun4084346/cockroach,petermattis/cockroach,maxlang/cockroach,maxlang/cockroach,nieyy/cockroach,maxlang/cockroach,arjun4084346/cockroach,arjun4084346/cockroach,vaibhavarora/cockroach,petermattis/cockroach,maxlang/cockroach,maxlang/cockroach,nieyy/cockroach,veteranlu/cockroach,vivekmenezes/cockroach,paperstreet/cockroach,vaibhavarora/cockroach,veteranlu/cockroach,bg451/cockroach,cuongdo/cockroach,cuongdo/cockroach,paperstreet/cockroach,il9ue/cockroach,veteranlu/cockroach,glycerine/cockroach,cockroachdb/cockroach,nieyy/cockroach,cockroachdb/cockroach,cuongdo/cockroach,bg451/cockroach,petermattis/cockroach,vaibhavarora/cockroach,cockroachdb/cockroach,il9ue/cockroach,paperstreet/cockroach,cuongdo/cockroach,sunya123/cockroach,glycerine/cockroach,cockroachdb/cockroach,vaibhavarora/cockroach,il9ue/cockroach,nieyy/cockroach,sunya123/cockroach,vaibhavarora/cockroach,paperstreet/cockroach,veteranlu/cockroach,arjun4084346/cockroach,glycerine/cockroach,nieyy/cockroach,vivekmenezes/cockroach,il9ue/cockroach,bg451/cockroach,cockroachdb/cockroach,paperstreet/cockroach,sunya123/cockroach,vivekmenezes/cockroach,veteranlu/cockroach,glycerine/cockroach,petermattis/cockroach,cuongdo/cockroach,il9ue/cockroach,nieyy/cockroach,arjun4084346/cockroach,veteranlu/cockroach,vaibhavarora/cockroach,maxlang/cockroach,vivekmenezes/cockroach,bg451/cockroach,paperstreet/cockroach,vivekmenezes/cockroach,cockroachdb/cockroach,il9ue/cockroach,il9ue/cockroach,petermattis/cockroach,cuongdo/cockroach,vaibhavarora/cockroach,petermattis/cockroach,veteranlu/cockroach,paperstreet/cockroach,nieyy/cockroach,bg451/cockroach,veteranlu/cockroach,sunya123/cockroach,vivekmenezes/cockroach,petermattis/cockroach,arjun4084346/cockroach,nieyy/cockroach,cuongdo/cockroach,sunya123/cockroach,cockroachdb/cockroach,cuongdo/cockroach,vivekmenezes/cockroach,arjun4084346/cockroach,bg451/cockroach,maxlang/cockroach,sunya123/cockroach,petermattis/cockroach,glycerine/cockroach,arjun4084346/cockroach,glycerine/cockroach,maxlang/cockroach,paperstreet/cockroach,glycerine/cockroach,il9ue/cockroach,glycerine/cockroach,sunya123/cockroach,bg451/cockroach,cockroachdb/cockroach,vaibhavarora/cockroach