Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Bug - Issue 17 - Drop table failure #21

Merged
merged 4 commits into from
Oct 16, 2016

Conversation

hhandoko
Copy link
Owner

@hhandoko hhandoko commented Oct 14, 2016

Summary

Fixes issue #17

DROP TABLE statements are failing for migrations against embedded Cassandra and Apache Cassandra 3.7 and earlier. The issue appears due to the way Cassandra handles SELECT count(*) statements used to check whether a table exists in a keyspace.

This fix updated the SELECT (*) statement at SchemaVersionDAO to use SELECT * instead. Changes may be reverted when a new major release is available.


## Pull Request (PR) Checklist ### Documentation - [x] Documentation in `README.md` or Wiki updated ### Code Review - [x] Self code review -- take another pass through the changes yourself - [x] Completed all relevant `TODO`s, or call them out in the PR comments ### Tests - [x] All tests passes

@hhandoko hhandoko merged commit a8c73af into master Oct 16, 2016
@hhandoko hhandoko deleted the bug/issue_17_drop_table_failure branch November 16, 2016 05:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant