run this: ./test-table-elimination --create-options=engine=innodb --socket=/tmp/rfp.sock --verbose --small-test --debug --fast
see this: Got error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(0x10e25230)' at line 1 when executing 'OPTIMIZE TABLE'
problem was the list param to the vacuum call, needs to be a list not a ref.
patch: $ diff test-table-elimination.orig test-table-elimination 203c203 < $server->vacuum(0,\$dbh,["elim_facts", "elim_attr1", "elim_attr2"]); ---
$server->vacuum(0,\$dbh,("elim_facts", "elim_attr1", "elim_attr2"));
Answer Answered by Elena Stepanova in this comment.
We have a bug report for this in LP: https://bugs.launchpad.net/maria/+bug/986739, you can track its progress there.