-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Problem with receiving all rows #64
Comments
I cannot reproduce that problem locally. May you please set Thanks :-) |
I sent you the error:
There is not any other error |
I mean within your script. with |
I did what you said but I received nothing other than:
|
I think the problem is from your project |
Am I right ? |
@sallsabil We may have a bug in our protocol implementation, but we cannot reproduce it ourselves. Please add |
I use ubuntu 16.04 but in: |
Are you using the CLI version of php? |
yes |
@sallsabil Please be sure assertions are enabled, as the debug code is wrapped with |
I avtivated assert() in php.ini file but no difference |
Why can't you reproduce ? |
How I understand my mysql doesn't support mysql_debug |
It's a constant you set in your client code (PHP), it has nothing to do with the server. You will see the log in the error log of your HTTP server, not the MySQL server. |
https://dev.mysql.com/doc/refman/5.7/en/dbug-package.html : you must have a mysqld that has been compiled with debugging support. You can check this by executing mysqld -V. If the version number ends with -debug, it is compiled with support for trace files. My result of this command
mysqld Ver 5.7.20-0ubuntu0.16.04.1 for Linux on x86_64 ((Ubuntu)) Not any -debug end. |
@sallsabil This client completely re-implements the MySQL protocol and doesn't make use of any other implementation for that. Could you extract your code into a command line script that's easily runnable by others and provide a dump of your database table (with dummy data if applicable)? |
Thanks, but I guess we need more information to reproduce this behavior. Please provide either a Docker setup that reproduces the behavior or provide the debug log we requested. I'll close this issue as it hasn't been updated. We can always re-open the issue in case the requested information is provided. |
@kelunik Than I'll try to help with this. https://github.com/valVk/amph-mysql Here is in table is 565529 rows but in fact I can get only first 92 rows. |
Hello
My table has 3504 rows.
When I use this code:
I can receive all of 3504 rows
But when I use this code:
I mostly receive just 4 rows and some times 25 rows.
Also these errors:
How can I receive all rows ?
What is the problem ?
The text was updated successfully, but these errors were encountered: