Bug #58317 On windows, mysqlbackup prints junk characters if long arguments are passed.
Submitted: 19 Nov 2010 9:39 Modified: 7 Jan 2011 1:20
Reporter: Satya B Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S3 (Non-critical)
Version:3.5.2 OS:Any
Assigned to: Ritheesh Vedire CPU Architecture:Any

[19 Nov 2010 9:39] Satya B
Description:
When mysqlbackup is executed with long paths, junk characters are displayed after "Starting mysqlbackup with following arguments".

C:\WORK\mysql-5.1-meb-win\mysql-test>%INNOBACKUP% --ibbackup=%IBBACKUP% --user=root --port=13000 --sleep=2 "C:\work\test with space\my.cnf" C:\WORK\mysql-5.1-meb-win\mysql-test\backup_dir\

mysqlbackup: Starting mysqlbackup with following arguments:
C:\WORK\meb-3.5.next\meb-innobackup-c\Debug\mysqlbackup.exe --ibbackup=C:\WORK\meb-3.5.next\meb-ibbackup\bin\Debug\ibbackup.exe --user=root --port=13000 --sleep=2 C:\work\test with space\my.cnf C:\WORK\mysql-5.1-m╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠╠\√½
mysqlbackup: The unique backup id generated for the current backup operation is 12901586884586168

How to repeat:
See above, make sure that full paths are provided.

Suggested fix:
Don't know the exact cause but increasing the PATH_MAX seems to solve the problem.
[19 Nov 2010 21:19] Hema Sridharan
I was also executing some mysqlbackup tests today and noticed the same behavior.
[4 Dec 2010 6:41] Thava Alagu
OK to push.
[7 Jan 2011 1:20] John Russell
Don't think a doc changelog entry is necessary for this fix.