kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 2521b15bf39d230065f598f767522985e0fc080143ac7771402cb07b3a5a8fdc |
|---|---|
| Author | Alexandre Dutra <alexandre.dutra@datastax.com> · 2015-09-18 15:54 +02:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2015-09-18 19:20 +02:00 |
| Parents | fe97cb078d4e |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/SchemaParser.java +1 −1
| @@ -609,7 +609,7 @@ | ||
| 609 | 609 | cfFuture = queryAsync(SELECT_TABLES + whereClause(targetType, targetKeyspace, targetName, targetSignature), connection, protocolVersion); |
| 610 | 610 | colsFuture = queryAsync(SELECT_COLUMNS + whereClause(targetType, targetKeyspace, targetName, targetSignature), connection, protocolVersion); |
| 611 | 611 | indexesFuture = queryAsync(SELECT_INDEXES + whereClause(targetType, targetKeyspace, targetName, targetSignature), connection, protocolVersion); |
| 612 | - viewsFuture = queryAsync(SELECT_VIEWS + whereClause(targetType == null ? null : VIEW, targetKeyspace, targetName, targetSignature), connection, protocolVersion); | |
| 612 | + viewsFuture = queryAsync(SELECT_VIEWS + whereClause(targetType == TABLE ? VIEW : targetType, targetKeyspace, targetName, targetSignature), connection, protocolVersion); | |
| 613 | 613 | } |
| 614 | 614 | |
| 615 | 615 | if (isSchemaOrKeyspace || targetType == FUNCTION) |