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

Data::Consumer::MySQL doesn't populate default values for state IDs #2

Open
atomicstack opened this issue Nov 27, 2015 · 0 comments
Open

Comments

@atomicstack
Copy link
Contributor

i.e. if you instantiate Data::Consumer::MySQL without specifying state values, like so:

my $consumer = Data::Consumer::MySQL->new(  
  dbh => $my_awesome_dbh,
  table => 'MyAwesomeTable',
); 

...then the item's flag_field will change to 1 as it's acquired by a consumer, and then remain at that value forever.

The docs say if you don't specify values for the different states, then the defaults are 0 .. 3, but this apparently isn't true :)

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