fix temp debug code, typos

Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/9001298a
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/9001298a
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/9001298a

Branch: refs/heads/master
Commit: 9001298a7729e39cef8f364ae7b2ac3a1090c61e
Parents: 1bfb2a8
Author: Liu Ming <ovis_p...@sina.com>
Authored: Thu Feb 22 01:42:41 2018 +0000
Committer: Liu Ming <ovis_p...@sina.com>
Committed: Thu Feb 22 01:42:41 2018 +0000

----------------------------------------------------------------------
 core/sql/parser/sqlparser.y | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/9001298a/core/sql/parser/sqlparser.y
----------------------------------------------------------------------
diff --git a/core/sql/parser/sqlparser.y b/core/sql/parser/sqlparser.y
index d1e7d56..69df367 100755
--- a/core/sql/parser/sqlparser.y
+++ b/core/sql/parser/sqlparser.y
@@ -8889,13 +8889,8 @@ datetime_misc_function : TOK_CONVERTTIMESTAMP '(' 
value_expression ')'
                               }
     | TOK_SLEEP '(' numeric_literal_exact ')'
                                {
-                  NAType * type;
-                  type = new (PARSERHEAP())
-                       SQLInt(PARSERHEAP() , FALSE, FALSE);
-                                //ItemExpr* ie = new (PARSERHEAP()) 
                                 $$ = new (PARSERHEAP()) 
                                   SleepFunction( $3);
-                  //$$ = new (PARSERHEAP()) Cast(ie,type);
                                }
 
 CHAR_FUNC_optional_character_set : ',' CHAR_FUNC_character_set

Reply via email to