You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2018/03/13 15:31:13 UTC
[1/2] trafodion git commit: [TRAFODION-2990] Fix CREATE TABLE LIKE
having long numeric default constant
Repository: trafodion
Updated Branches:
refs/heads/master 77e81c75e -> 5fea1ac88
[TRAFODION-2990] Fix CREATE TABLE LIKE having long numeric default constant
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/582ff402
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/582ff402
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/582ff402
Branch: refs/heads/master
Commit: 582ff40280d0f99025a529914ea78533fc6e12bc
Parents: cd8f2fa
Author: Dave Birdsall <db...@apache.org>
Authored: Mon Mar 12 17:59:04 2018 +0000
Committer: Dave Birdsall <db...@apache.org>
Committed: Mon Mar 12 17:59:04 2018 +0000
----------------------------------------------------------------------
core/sql/common/NAString.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafodion/blob/582ff402/core/sql/common/NAString.cpp
----------------------------------------------------------------------
diff --git a/core/sql/common/NAString.cpp b/core/sql/common/NAString.cpp
index 21128fb..b0bfb0b 100644
--- a/core/sql/common/NAString.cpp
+++ b/core/sql/common/NAString.cpp
@@ -1815,7 +1815,8 @@ size_t LineBreakSqlText(NAString &sqlText,
} // unquoted space
- else if (*s == '.')
+ else if ((*s == '.') &&
+ (!isDigit8859_1((unsigned char)s[1]))) // ignore dots in numeric constants
{
dot[2] = dot[1];
dot[1] = dot[0];
[2/2] trafodion git commit: Merge [TRAFODION-2990] PR 1469 Fix CREATE
TABLE LIKE bug with long numeric
Posted by db...@apache.org.
Merge [TRAFODION-2990] PR 1469 Fix CREATE TABLE LIKE bug with long numeric
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/5fea1ac8
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/5fea1ac8
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/5fea1ac8
Branch: refs/heads/master
Commit: 5fea1ac883cfe685009758ba6d26ec6db8e6a800
Parents: 77e81c7 582ff40
Author: Dave Birdsall <db...@apache.org>
Authored: Tue Mar 13 15:30:39 2018 +0000
Committer: Dave Birdsall <db...@apache.org>
Committed: Tue Mar 13 15:30:39 2018 +0000
----------------------------------------------------------------------
core/sql/common/NAString.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------