Skip to content

Commit 6dc6003

Browse files
author
diego Dupin
committed
[misc] ensure not throwing error when not having read all DatabaseMetadata resultset
1 parent 1ea7c07 commit 6dc6003

File tree

1 file changed

+1
-0
lines changed
  • src/main/java/org/mariadb/jdbc/client/result

1 file changed

+1
-0
lines changed

src/main/java/org/mariadb/jdbc/client/result/Result.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public Result(ColumnDefinitionPacket[] metadataList, byte[][] data, Context cont
8383
this.metadataList = metadataList;
8484
this.maxIndex = this.metadataList.length;
8585
this.reader = null;
86+
this.loaded = true;
8687
this.exceptionFactory = context.getExceptionFactory();
8788
this.context = context;
8889
this.data = data;

0 commit comments

Comments
 (0)