Bug #1626 | can't load a table of type HEAP from master; | ||
---|---|---|---|
Submitted: | 22 Oct 2003 8:43 | Modified: | 22 Oct 2003 9:07 |
Reporter: | jean-francois beleyn | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 4.0.12 | OS: | Linux (Linux on sparc64) |
Assigned to: | CPU Architecture: | Any |
[22 Oct 2003 8:43]
jean-francois beleyn
[22 Oct 2003 9:07]
Guilhem Bichot
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant product(s). Bonjour Jean-François, Yes, it's a deficiency (a known bug which can't be fixed shortly) of LOAD DATA FROM MASTER and LOAD TABLE FROM MASTER: they only work with MyISAM tables. It is documented in our manual in the section of LOAD DATA FROM MASTER (http://www.mysql.com/doc/en/LOAD_DATA_FROM_MASTER.html) but unfortunately not in the section of LOAD TABLE FROM MASTER (so I just fixed this). LOAD TABLE/DATA FROM MASTER is usually used for replication; and as HEAP tables are in-memory tables (content lost at shutdown; only the structure survives shutdowns), they are a problem when used with replication (when the slave shuts down while it's replicating master's queries using HEAP tables, it should find a way to save the HEAP table's content on disk to be able to re-use it when it restarts). Solving this is on our TODO. Cordialement, Guilhem