Bug #226 SET commands don't handle ###K/###M values
Submitted: 4 Apr 2003 0:03 Modified: 24 Apr 2003 1:37
Reporter: Indrek Siitan Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.0, 4.1 OS:Any (all)
Assigned to: CPU Architecture:Any

[4 Apr 2003 0:03] Indrek Siitan
Description:
The SET command does not accept values like 256K / 512M unlike the set-variable command in my.cnf.

How to repeat:
mysql> set global key_buffer_size = 512M;
ERROR 1232: Wrong argument type to variable 'key_buffer_size'
[24 Apr 2003 1:37] Indrek Siitan
As Jani says, it's too complicated to achieve on the server side.