[MDEV-276] LP:997460 - Truncate table on partitioned Aria table fails with ER_ILLEGAL_HA Created: 2012-05-17  Updated: 2012-06-16  Resolved: 2012-06-16

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.23
Fix Version/s: 5.5.25

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Michael Widenius
Resolution: Fixed Votes: 0
Labels: None
Environment:


 Description   

https://bugs.launchpad.net/maria/+bug/997460 (filed by user)

  1. Test case:

    CREATE TABLE t ( i INT )
      ENGINE=Aria
      PARTITION BY HASH(i) PARTITIONS 2;
    SET AUTOCOMMIT = 0;
    TRUNCATE TABLE t;

Result:

# 'TRUNCATE TABLE t' failed: 1031: Table storage engine for 't' doesn't have this option


Generated at Thu Feb 08 06:27:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.