Bug #12104 | Treat geometry as blobs. | ||
---|---|---|---|
Submitted: | 22 Jul 2005 7:41 | Modified: | 17 Oct 2005 19:42 |
Reporter: | Chris Wood | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | Connector/J 1.1.10, MySQL 4.1.10a | OS: | |
Assigned to: | Mark Matthews | CPU Architecture: | Any |
[22 Jul 2005 7:41]
Chris Wood
[22 Jul 2005 9:22]
Aleksey Kishkin
testcase
Attachment: Bug12104.java (text/java), 981 bytes.
[22 Jul 2005 9:25]
Aleksey Kishkin
tested on win xp and got (testcase attached): E:\connj3.1.10>e:\java\bin\java -cp junit.jar;.;my10.jar Bug12104 .Loading JDBC driver 'com.mysql.jdbc.Driver' Done. Done. Connected to 4.1.12a-nt E Time: 0,5 There was 1 error: 1) testMetadataBug12029(Bug12104)java.sql.SQLException: Unknown type '255 in col umn 1 of 2 in binary-encoded result set. at com.mysql.jdbc.MysqlIO.extractNativeEncodedColumn(MysqlIO.java:3794) at com.mysql.jdbc.MysqlIO.unpackBinaryResultSetRow(MysqlIO.java:3703) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1319) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2258) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:421) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:1959) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1384) at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedSt atement.java:1133) at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPrepared Statement.java:670) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java: 1024) at Bug12104.testMetadataBug12029(Bug12104.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at Bug12104.main(Bug12104.java:33) FAILURES!!! Tests run: 1, Failures: 0, Errors: 1