org.compiere.dbPort.Convert.dontLog: minor bug fix

This commit is contained in:
teo_sarca 2008-07-31 16:40:59 +00:00
parent 2100340d06
commit a1d0ce1d58
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ public abstract class Convert
"T_TRANSACTION", "T_TRANSACTION",
"T_TRIALBALANCE" "T_TRIALBALANCE"
}; };
String uppStmt = statement.toUpperCase(); String uppStmt = statement.toUpperCase().trim();
// don't log selects // don't log selects
if (uppStmt.startsWith("SELECT ")) if (uppStmt.startsWith("SELECT "))
return true; return true;