Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 685f7d7

Browse files
author
Chris Board
committed
Fixes issue process query response for MySQL 5.6
1 parent 3ae038a commit 685f7d7

File tree

6 files changed

+13
-5
lines changed

6 files changed

+13
-5
lines changed
0 Bytes
Binary file not shown.

.idea/caches/gradle_models.ser

18 Bytes
Binary file not shown.

.idea/markdown-exported-files.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AndroidMySQLConnector/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ else
2020
}
2121

2222
archivesBaseName="AndroidMySQLConnector"
23-
version '0.26'
23+
version '0.27'
2424
group 'com.BoardiesITSolutions'
2525

2626

@@ -30,8 +30,8 @@ android {
3030
//applicationId "com.BoardiesITSolutions.AndroidMySQLConnector"
3131
minSdkVersion 19
3232
targetSdkVersion 28
33-
versionCode 15
34-
versionName "0.26"
33+
versionCode 19
34+
versionName "0.27"
3535
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
3636
}
3737
buildTypes {

AndroidMySQLConnector/src/main/java/com/BoardiesITSolutions/AndroidMySQLConnector/PacketManager/COM_QueryResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private void processPacketData()
8989

9090
//MySQL 5.1 appears to add an extra packet between the column definitions and the rows so we'll pass
9191
//it in case we need it - don't think we do though!
92-
if (this.mysqlConn.isConnectedVersionLessThan(5,5,60))
92+
if (this.mysqlConn.isConnectedVersionLessThan(5,6,60))
9393
{
9494
int packetLength = this.mysqlConn.getMysqlIO().fromByteArray((byte[]) this.mysqlConn.getMysqlIO().extractDataAsString(3));
9595
int packetNumber = (byte) this.mysqlConn.getMysqlIO().extractDataAsString(1);

0 commit comments

Comments
 (0)