Bug #44610 | RCDFMT clause requested when creating DB2 table | ||
---|---|---|---|
Submitted: | 1 May 2009 16:38 | Modified: | 14 Jul 2009 15:02 |
Reporter: | Tim Clark | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: DB2SE for IBM i | Severity: | S4 (Feature request) |
Version: | OS: | Any | |
Assigned to: | Tim Clark | CPU Architecture: | Any |
Tags: | RCDFMT |
[1 May 2009 16:38]
Tim Clark
[1 May 2009 18:20]
Bruce Hoffman
If a solution exists and the decision is to move (say) a live instance to IBM i and then migrate to DB2 as the storage engine, then the process might be to restore the appropriate parts to the IFS, test execution, when stable, use alter to migrate into the DB2 environment. Since the alter moves data as well, this is a good, secure, reliable method to deploy existing MySQL supported applications to the IBM i environment. But then any RPG program that is using native I/O operations will need to rename the "#sql0001" record format name in each and every one of the files in order to use them. And the storage engine, at it's heart, is there to provide access to the MySQL stored data from IBM i program objects. In SQL, before we had the record format extension on the create table, view and now, index, we did the following: create table <record_fmt_name> (... rename table <record_fmt_name> to <file_name> This left the table with a specific record format name, different from the file name, even though it was created in SQL. Since MySQL requires V5R4 and up, and the RCDFMT phrase is available in V5R4 and up, there should be no reason that the record format names are mangled in the alter process.
[17 May 2009 16:25]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/74310
[28 May 2009 8:15]
Bugs System
Pushed into 5.1.36 (revid:joro@sun.com-20090528073639-yohsb4q1jzg7ycws) (version source revid:v.narayanan@sun.com-20090517162523-92p6va4ruqwwqtvb) (merge vers: 5.1.36) (pib:6)
[17 Jun 2009 19:22]
Bugs System
Pushed into 5.4.4-alpha (revid:alik@sun.com-20090616183122-chjzbaa30qopdra9) (version source revid:v.narayanan@sun.com-20090517163051-8p5mbkvf6uis38hf) (merge vers: 6.0.12-alpha) (pib:11)
[14 Jul 2009 15:02]
MC Brown
An entry has been added to the 5.1.36 and 5.4.4 changelogs: When creating tables using the IBMDB2I storage engine, the RCDFMT (record format) that would be applied to the corresponding files within the IBM i would be set according to the table name. During a whole table operations, the name could get modified to a value inconsistent with thetable name. In addition, the record format would be inconsistent compared to the file content. The IBMDB2I storage engine now adds an explicit RCDFMT clause to the CREATE TABLE statement passed down to the DB2 storag engine laye
[12 Aug 2009 22:34]
Paul DuBois
Noted in 5.4.2 changelog because next 5.4 version will be 5.4.2 and not 5.4.4.
[15 Aug 2009 1:50]
Paul DuBois
Ignore previous comment about 5.4.2.
[26 Aug 2009 13:46]
Bugs System
Pushed into 5.1.37-ndb-7.0.8 (revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)
[26 Aug 2009 13:46]
Bugs System
Pushed into 5.1.37-ndb-6.3.27 (revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (version source revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (merge vers: 5.1.37-ndb-6.3.27) (pib:11)
[26 Aug 2009 13:48]
Bugs System
Pushed into 5.1.37-ndb-6.2.19 (revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (version source revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (merge vers: 5.1.37-ndb-6.2.19) (pib:11)
[27 Aug 2009 16:33]
Bugs System
Pushed into 5.1.35-ndb-7.1.0 (revid:magnus.blaudd@sun.com-20090827163030-6o3kk6r2oua159hr) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)
[7 Oct 2009 20:23]
Paul DuBois
The 5.4 fix has been pushed to 5.4.2.