From f0210091799b17b6b5e876b7403e27af0633f835 Mon Sep 17 00:00:00 2001 From: Alexandr Gorshenin Date: Thu, 19 Sep 2024 15:42:16 +0100 Subject: [PATCH] Fix typos in ProtoType --- .../src/main/java/tech/ydb/table/values/proto/ProtoType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/table/src/main/java/tech/ydb/table/values/proto/ProtoType.java b/table/src/main/java/tech/ydb/table/values/proto/ProtoType.java index 45cf2052c..d46dca863 100644 --- a/table/src/main/java/tech/ydb/table/values/proto/ProtoType.java +++ b/table/src/main/java/tech/ydb/table/values/proto/ProtoType.java @@ -346,9 +346,9 @@ public static ValueProtos.Type getNull() { public static ValueProtos.Type getPgType(int oid, int typlen, int typmod) { return ValueProtos.Type.newBuilder() .setPgType(ValueProtos.PgType.newBuilder() - .setOid(typlen) + .setOid(oid) .setTyplen(typlen) - .setTypmod(typlen) + .setTypmod(typmod) .build() ).build(); }