Summary: | databases/mysql-server: mysqli_store_result fails on even toy datasets | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | MMacD <scratch65535> |
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | brnrd, joneum, w.schwarzenfeld |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
MMacD
2017-05-30 17:33:59 UTC
I forgot to mention that the call doesn't return an error message, and mysqli_field_count() returns non-zero, both of which should be signs of success, but dset is nevertheless a zero. To exactly which port does this PR apply? (In reply to Mark Linimon from comment #2) I thought it was probably mysql rather than php, but it turned out to be misleading docs, not a bug in the code, so I'm going to delete it and complain about the docs instead. I shouldn't have closed this, because there *is* a problem. Either the software is broken or the docs are, since mysqli_store_result doesn't even work on a toy dataset. My interest was only because, being confused by the poorly-written docs, I thought that a successful store_result call was now required in order to use data_seek. But it's not, and so I lost interest and closed this bug report. But there really is some kind of bug, so I should have left it open even though it doesn't seem to affect my project. Unfortunately, I've no clue about where the bug is located because the mysqli API is not well-reflected in SQL. There's no equivalent of store_result in the SQL that I can see, so I couldn't test to narrow it down. So it could be in MySQL and thus MariaDB, or the result of some change to MariaDB that's not in MySQL, or in the mysqli API, or only the PHP port of the API, or even just in the documentation. Sorry for not being able to be more clear. Adding brnrd@ to CC (since it was produced on MariaDB) in hope he can help to produce it in MySQL `:) Assignee reset. It seems to be an old problem that has not been discussed in recent years. I close here |