Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Mp, can't get_all_records, then get_record, then get_all _records again #5

Open
jbhopkins opened this issue Aug 16, 2018 · 0 comments

Comments

@jbhopkins
Copy link
Contributor

If you have a database and you get_all_records, then get_record, then get_all_records again, it crashes with a SIGSEGV (on my mac and on Trogdor). This consistently occurs. If you just do one of those (get_all_records then get_record or get_record then get_all_records) it's fine.

Minimal example:

#! /usr/bin/env mpscript

def main(mx_db, args):
    mx_db.get_all_records()
    mx_db.get_record('mtr1')
    mx_db.get_all_records()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant