log.debug("temp="+temp);
    public void runCommands(Reader rdr) throws SQLException, IOException {        log.debug(">runCommands");        BufferedReader br = new BufferedReader(rdr);        Timestamp start = new Timestamp(System.currentTimeMillis());        try {            String temp;            StringBuffer strBuf = new StringBuffer();            commands = 0;            int maxCommands = 0;            List list = new LinkedList();            while ((temp = br.readLine()) != null) {            	if (!temp.startsWith("#")) { // Don't include comments                	log.debug("temp="+temp);            		list.add(temp);            	}                if (!temp.endsWith(";"))                    continue;                maxCommands++;            }            Iterator it = list.iterator();            while (it.hasNext()) {                temp = (String) it.next();                temp = temp.trim();                lineno++;                if (temp.length() != 0) {                    strBuf.append(temp);                    if (temp.endsWith(";")) {                        // end of command, remove the ';' and execute                        char ch = ' ';                        strBuf.setCharAt(strBuf.length() - 1, ch);                        executeCommand(strBuf);                        commands++;                        strBuf = new StringBuffer();                    } else {                        // continue to read the command                        strBuf.append(" ");                    }                }            }                    } finally {            if (br != null) { br.close(); }                    }        Timestamp stop = new Timestamp(System.currentTimeMillis());        log.debug("Execution started: " + start.toString());        log.debug("Execution stopped: " + stop.toString());        log.debug(commands + " commands executed with " + errors + " errors");        commands = 0;        errors = 0;        log.debug("<runCommands");    }