You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by hz...@apache.org on 2018/05/09 01:30:59 UTC
[1/2] trafodion git commit: [TRAFODION-510] Internal error or core
dump with set table timeout
Repository: trafodion
Updated Branches:
refs/heads/master fe62cce78 -> 51bed00bf
[TRAFODION-510] Internal error or core dump with set table timeout
Disable this syntax that is no longer supported, so that we don't
get a core dump in debug builds. This caused a core every time I
ran the core/TEST019 regression test on a debug build.
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/2177ad87
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/2177ad87
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/2177ad87
Branch: refs/heads/master
Commit: 2177ad87107e49d9a58bc0f22d1ad474b2b5c6ef
Parents: 80a0113
Author: Hans Zeller <hz...@apache.org>
Authored: Tue May 8 17:12:09 2018 +0000
Committer: Hans Zeller <hz...@apache.org>
Committed: Tue May 8 17:12:09 2018 +0000
----------------------------------------------------------------------
core/sql/parser/sqlparser.y | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafodion/blob/2177ad87/core/sql/parser/sqlparser.y
----------------------------------------------------------------------
diff --git a/core/sql/parser/sqlparser.y b/core/sql/parser/sqlparser.y
index 2795eff..ad24efe 100755
--- a/core/sql/parser/sqlparser.y
+++ b/core/sql/parser/sqlparser.y
@@ -23397,12 +23397,20 @@ set_table_statement: TOK_SET TOK_TABLE set_table_name
{
$$ = new (PARSERHEAP()) // a RESET
RelSetTimeout( *$3, NULL, $4, TRUE );
+ *SqlParser_Diags << DgSqlCode(-4222)
+ << DgString0("SET TABLE TIMEOUT");
+ yyerror("");
+ YYABORT;
}
| TOK_SET TOK_TABLE set_table_name // a timeout value
optional_stream TOK_TIMEOUT timeout_value
{
$$ = new (PARSERHEAP())
RelSetTimeout( *$3, (ItemExpr *) $6 , $4);
+ *SqlParser_Diags << DgSqlCode(-4222)
+ << DgString0("SET TABLE TIMEOUT");
+ yyerror("");
+ YYABORT;
}
[2/2] trafodion git commit: Merge [TRAFODION-510] Internal error or
core dump with set table timeout PR-1554
Posted by hz...@apache.org.
Merge [TRAFODION-510] Internal error or core dump with set table timeout PR-1554
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/51bed00b
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/51bed00b
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/51bed00b
Branch: refs/heads/master
Commit: 51bed00bf5a13a069416c142955d786c0ed1ecd2
Parents: fe62cce 2177ad8
Author: Hans Zeller <hz...@apache.org>
Authored: Wed May 9 01:30:40 2018 +0000
Committer: Hans Zeller <hz...@apache.org>
Committed: Wed May 9 01:30:40 2018 +0000
----------------------------------------------------------------------
core/sql/parser/sqlparser.y | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafodion/blob/51bed00b/core/sql/parser/sqlparser.y
----------------------------------------------------------------------