• Aditya A's avatar
    Bug#16287752 INNODB_DATA_FILE_PATH MINIMUM SIZE · 657ffcd7
    Aditya A authored
                    IN DOCUMENTATION
    Problem 
    -------
    The documentation says that we support 'K' prefix 
    while specifiying size for innodb datafile in the
    server variable for innodb_data_file_path ,but the
    function srv_parse_megabytes() only handles only 
    'M' (megabytes) and 'G' (gigabytes) .
    
    Fix
    ---
    Modify srv_parse_megabytes() to handle Kilobytes. 
    
    Add in documentation that while specifying size 
    in KB it should be mentioned in multiples of 1024
    other wise they will be rounded off to nearest
    MB (megabyte) boundry .(eg if size mentioned
    as 2313KB will be considered as 2 MB ).
    
    [ Approved by Marko #rb 2387 ]
    657ffcd7
ha_innodb.cc 348 KB