Enhancement request: --init-command support for mysqlslap

Description

Hello and thank you for mariadb,

I was not able to create this request with anything other than Bug/Epic/Task.

While testing handlersocket with mysqlslap I came upon the need for mysqlslap to support --init-command, this was because on http://varokism.blogspot.co.uk/2010/12/using-mysql-as-nosql-story-for_27.html it looked like init_connect was at one time supported. I have:

and am using mysqlslap thus:

These are the changes I made against trunk to get this to work:

Thank you for your consideration.

Environment

None

Status

Assignee

Sergey Vojtovich

Reporter

Peter (Stig) Edwards

Labels

None

External issue ID

None

External issue ID

None

Fix versions

Priority

Minor
Configure