Oracle Database MySQL 5.6 Developer — Question 30

Consider the statement:
CREATE TABLE t1 (a INT) PARTITION BY KEY
/*150611 ALGORITHM = 1*/
What does this statement do?

Answer options

Correct answer: C

Explanation

The correct answer is C because it accurately reflects that algorithm 1 is used for MYSQL versions 5.6.11 and later, while the default algorithm applies to earlier versions. Option A is incorrect as it suggests the default algorithm is used in all versions, which is not true. Option B limits algorithm 1's usage to only version 5.6.11, ignoring newer versions, and D introduces an irrelevant error condition that does not apply to the statement.