You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/04/17 20:11:39 UTC
[GitHub] [shardingsphere] ppourali commented on issue #5224: creating
CachedRowSet to populate the ResultSet returned by sharding-proxy fails
ppourali commented on issue #5224: creating CachedRowSet to populate the ResultSet returned by sharding-proxy fails
URL: https://github.com/apache/shardingsphere/issues/5224#issuecomment-615442865
--UPDATE
So, for now I changed the value of the fetch size to 1;
public final class ProxyJDBCExecutePrepareCallback implements SQLExecutePrepareCallback {
**private static final Integer MYSQL_MEMORY_FETCH_ONE_ROW_A_TIME = 1;**
It is working better apparently with the updated fetch size but when I use sql command: "use mydatabase;", it throws the following exception, but it connects to the database.
Unknown table 'TABLE_NAMES' in information_schema. So there is definitely an issue with the resultset returned by sharding proxy for mysql and populating it to a cachedrowset.
Thanks,
Parsa
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services