From e560ed5639295c0dce104c7266600da55b9d39bf Mon Sep 17 00:00:00 2001 From: "Na, Hyunik" <67700070+hyunikn@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:26:42 +0900 Subject: [PATCH] [CBRD-25713] limit max length of CHAR type to 2048 (#5692) limit max length of CHAR type to 2048 --- .../src/main/java/com/cubrid/plcsql/compiler/type/TypeChar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pl_engine/pl_server/src/main/java/com/cubrid/plcsql/compiler/type/TypeChar.java b/pl_engine/pl_server/src/main/java/com/cubrid/plcsql/compiler/type/TypeChar.java index e5101817ef3..fb5ca0c0f08 100644 --- a/pl_engine/pl_server/src/main/java/com/cubrid/plcsql/compiler/type/TypeChar.java +++ b/pl_engine/pl_server/src/main/java/com/cubrid/plcsql/compiler/type/TypeChar.java @@ -34,7 +34,7 @@ public class TypeChar extends Type { - public static final int MAX_LEN = 268435455; + public static final int MAX_LEN = 2048; public final int length;