5b8c4168d4807c729fc8b1f199d9eb03c9411069 galt Thu Mar 3 18:40:54 2016 -0800 Replacing simple literal NOSQLINJ in string with the #define NOSQLINJ. This is slightly better because the compiler can catch a mis-spelling of the NOSQLINJ keyword. This was suggested by Angie. diff --git src/hg/hgTracks/cutterTrack.c src/hg/hgTracks/cutterTrack.c index 71113e6..885ca84 100644 --- src/hg/hgTracks/cutterTrack.c +++ src/hg/hgTracks/cutterTrack.c @@ -91,31 +91,31 @@ hFreeConn(&conn); cutterFree(&cut); } } } void cuttersLoad(struct track *tg) { struct sqlConnection *conn; struct cutter *cutters; struct dnaSeq *windowDna = NULL; struct bed *bedList = NULL; int winSize = winEnd - winStart; conn = hAllocConn("hgFixed"); -cutters = cutterLoadByQuery(conn, "NOSQLINJ select * from cutters"); +cutters = cutterLoadByQuery(conn, NOSQLINJ "select * from cutters"); windowDna = hDnaFromSeq(database, chromName, winStart, winEnd, dnaUpper); /* Do different things based on window size. */ if (winSize < MAX_CUTTER_WINSIZE) { char *enz = cartUsualString(cart, cutterVar, cutterDefault); struct slName *cartCutters = NULL; if (enz && (strlen(enz) > 0)) { eraseWhiteSpace(enz); cartCutters = slNameListFromComma(enz); }