Bug #12721 | Oracle CLOB data not converted | ||
---|---|---|---|
Submitted: | 22 Aug 2005 11:09 | Modified: | 22 Aug 2005 13:09 |
Reporter: | Sadao Hiratsuka (Basic Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Migration Toolkit | Severity: | S1 (Critical) |
Version: | 1.0.13 | OS: | Windows (Windows XP) |
Assigned to: | Michael G. Zinner | CPU Architecture: | Any |
[22 Aug 2005 11:09]
Sadao Hiratsuka
[22 Aug 2005 12:14]
Michael G. Zinner
I have uploaded a fix for this issue to ftp://ftp.mysql.com/pub/mysql/download/mysql-migration-toolkit-patch3-1.0.13-rc-win32.zip Please download the file and extract it into [INSTALLDIR]\java\com\mysql\grt\modules overwriting the existing files there. Please report if this fix addresses your issues. Thanks, Mike
[22 Aug 2005 12:50]
Sadao Hiratsuka
I confirmed this issue fixed. Thank you very much! BLOB has 4MB size limit (in getEscapedHexString method). Does CLOB have such limit, too?
[22 Aug 2005 13:09]
Michael G. Zinner
Thanks for the verification. No, I have not added such a limit to CLOB. But it might be good to add it since one might run into memory issues when using very large CLOBs. You can easily increase the BLOB max size by changing if (currentSize > 1048576 * 4) { throw new RuntimeException("BLOB is larger than 4MB."); } to if (currentSize > 1048576 * 8) { throw new RuntimeException("BLOB is larger than 8MB."); } or similar and compile it. (An Eclipse project is shipping with the tool in [installdir]/java. There you simply change the source, save and it will compile the files into the correct directory. Please see the forum at http://forums.mysql.com/list.php?104 for more details).