forked from heavyai/heavydb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added catalog migration fix, fixed existing migration bug, added tests
* Fix to correct the incorrect migration method we were using to migrate from pre 4.0 versions. The incorrect behaviour was adding usernames into the mapd_roles syscat table, when users should not entered there. * In addition, there is a fix to the existing migration path (it seems it was broken at time, as a new CHECK was added recently to disallow inserts using abstract DBObject keys, which the existing path used to instantiate new permissions). * Added tests for the migration fix as well as the original migration path.
- Loading branch information
1 parent
c3cb1b9
commit fcac163
Showing
4 changed files
with
197 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters