Bug #42878 | Federated doesn't distinguish between DELETE FROM t1 and TRUNCATE t1 | ||
---|---|---|---|
Submitted: | 16 Feb 2009 12:17 | Modified: | 10 Oct 2014 21:09 |
Reporter: | Sergey Vojtovich | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Federated storage engine | Severity: | S3 (Non-critical) |
Version: | 5.0, 5,1, 6.0 bzr | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[16 Feb 2009 12:17]
Sergey Vojtovich
[16 Feb 2009 13:01]
Sveta Smirnova
Thank you for the report. Verified as described: both statements send to remote server as TRUNCATE
[10 Oct 2014 21:09]
Paul DuBois
Noted in 5.7.6 changelog. For FEDERATED tables, DELETE FROM tbl_name statements were sent to the remote server as TRUNCATE TABLE tbl_name statements, with possible side effects on transaction handling and AUTO_INCREMENT processing.