Skip to content

Commit 22ed47b

Browse files
authored
Merge pull request #317 from alex268/master
Fix typos in ProtoType
2 parents 33f70b1 + f021009 commit 22ed47b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

table/src/main/java/tech/ydb/table/values/proto/ProtoType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,9 @@ public static ValueProtos.Type getNull() {
346346
public static ValueProtos.Type getPgType(int oid, int typlen, int typmod) {
347347
return ValueProtos.Type.newBuilder()
348348
.setPgType(ValueProtos.PgType.newBuilder()
349-
.setOid(typlen)
349+
.setOid(oid)
350350
.setTyplen(typlen)
351-
.setTypmod(typlen)
351+
.setTypmod(typmod)
352352
.build()
353353
).build();
354354
}

0 commit comments

Comments
 (0)