-
Notifications
You must be signed in to change notification settings - Fork 134
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
New mash type are behaving poorly #244
Comments
According to both sqlite and postgres, the order in which rows are returned is undefined unless an order by clause is used. In postgres, it seems "undefined" means random. In sqlite, it seems "undefined" means in row-id order. When we got the mash steps, we didn't specify the order. It happened to work for sqlite, but not for postgresql. This patch adds an order by clause to make sure it isn't "undefined".
I think I have it this time. As a side question, is there a reason we load everything, everything, everything on startup? Could we maybe find a way to load only what is needed first (like whatever tree is focused, plus what is needed to display the recipe + ferms) and then load the rest as we need it? It would make the remote database stuff much faster. |
Because that's how it used to work in-memory?
Sure, if there is a principled way to figure that out. |
Closes #244 -- New mash type are behaving poorly (for reals)
I just created a new recipe. If I do a double batch sparge with a grist ratio of 1.5 qt/lb, I get a warning saying that there is more liquid than mash tun. If I do a double batch sparge at a grist ratio of 2, no warning and the math works.
The sort order is also a little out of whack.
Finally, I missed a few qDebug statements in there somewhere.
The text was updated successfully, but these errors were encountered: