コード例 #1
0
        /**
         * Method declaration
         *
         *
         * @param c
         * @param channel
         *
         * @return
         *
         * @throws Exception
         */
        private Result processScript(Tokenizer c,
                                     Channel channel)
        {
            string sToken = c.getstring();

            if (c.wasValue())
            {
                sToken = (string)c.getAsValue();

                Log.scriptToFile(this, sToken, true, channel);

                return(new Result());
            }
            else
            {
                c.back();

                // try to script all: drop, insert; but no positions for cached tables
                return(getScript(true, true, false, channel));
            }
        }