Skip to content

Commit 5caee25

Browse files
address comments
Signed-off-by: Lloyd-Pottiger <[email protected]>
1 parent b9a00db commit 5caee25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

executor/infoschema_reader.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3097,6 +3097,8 @@ func (e *TiFlashSystemTableRetriever) dataForTiFlashSystemTables(ctx context.Con
30973097
if err != nil {
30983098
return nil, errors.Wrapf(err, "Failed to decode JSON from TiFlash")
30993099
}
3100+
} else {
3101+
return nil, errors.Errorf("Unexpected response type: %T", resp.Resp)
31003102
}
31013103

31023104
// Map result columns back to our columns. It is possible that some columns cannot be

0 commit comments

Comments
 (0)