Bug #14134 test rpl000015 fails when --with-tcp-port specified in configure script
Submitted: 19 Oct 2005 8:28 Modified: 24 Oct 2005 18:47
Reporter: Spunk Meyer Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.13-rc OS:Linux (Linux)
Assigned to: CPU Architecture:Any

[19 Oct 2005 8:28] Spunk Meyer
Description:
Done :
$ ./configure --prefix=/usr/local/mysql5 --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --enable-assembler --with-tcp-port=3307
$ make
$ make test

the test rpl000015 fails with this error :

Errors are (from /home/xxx/src/mysql-5.0.13-rc/mysql-test/var/log/mysqltest-time) :
mysqltest: At line 0: Result length mismatch
(the last lines may be the most important ones)
Below are the diffs between actual and expected results:
-------------------------------------------------------
*** r/rpl000015.result  2005-09-22 22:58:39.000000000 +0300
--- r/rpl000015.reject  2005-10-19 11:14:58.000000000 +0300
***************
*** 8,14 ****
  change master to master_host='127.0.0.1';
  show slave status;
  Slave_IO_State        Master_Host     Master_User     Master_Port     Connect_Retry   Master_Log_File Read_Master_Log_Pos     Relay_Log_File  Relay_Log_Pos  Relay_Master_Log_File    Slave_IO_Running        Slave_SQL_Running       Replicate_Do_DB Replicate_Ignore_DB     Replicate_Do_Table      Replicate_Ignore_Table Replicate_Wild_Do_Table  Replicate_Wild_Ignore_Table     Last_Errno      Last_Error      Skip_Counter    Exec_Master_Log_Pos     Relay_Log_Space Until_ConditionUntil_Log_File   Until_Log_Pos   Master_SSL_Allowed      Master_SSL_CA_File      Master_SSL_CA_Path      Master_SSL_Cert Master_SSL_Cipher       Master_SSL_Key Seconds_Behind_Master
! #     127.0.0.1       test    MASTER_PORT     7               4       #       #               No      No                                                     00       0       #       None            0       No                                              #
  change master to master_host='127.0.0.1',master_user='root',
  master_password='',master_port=MASTER_PORT;
  show slave status;
--- 8,14 ----
  change master to master_host='127.0.0.1';
  show slave status;
  Slave_IO_State        Master_Host     Master_User     Master_Port     Connect_Retry   Master_Log_File Read_Master_Log_Pos     Relay_Log_File  Relay_Log_Pos  Relay_Master_Log_File    Slave_IO_Running        Slave_SQL_Running       Replicate_Do_DB Replicate_Ignore_DB     Replicate_Do_Table      Replicate_Ignore_Table Replicate_Wild_Do_Table  Replicate_Wild_Ignore_Table     Last_Errno      Last_Error      Skip_Counter    Exec_Master_Log_Pos     Relay_Log_Space Until_ConditionUntil_Log_File   Until_Log_Pos   Master_SSL_Allowed      Master_SSL_CA_File      Master_SSL_CA_Path      Master_SSL_Cert Master_SSL_Cipher       Master_SSL_Key Seconds_Behind_Master
! #     127.0.0.1       test    3307    7               4       #       #               No      No                                                      0      00       #       None            0       No                                              #
  change master to master_host='127.0.0.1',master_user='root',
  master_password='',master_port=MASTER_PORT;
  show slave status;
-------------------------------------------------------

the difference is MASTER_PORT in the first entry and 3307 in the second entry

it dosen't fail if you dont specifiy any --with-tcp-port option to the configure script.

OS : slackware linux 10.0
software versions : GNU Make 3.80, gcc version 3.3.4, perl v5.8.4

How to repeat:
reproduce the above tests
[24 Oct 2005 18:47] Hartmut Holzgraefe
couldn't repeat this with latest 5.0 sources on linux
[25 Oct 2005 11:56] Spunk Meyer
Tried with the same config with 5.0.15 and it works fine.
Must have been fixed beetween 5.0.13-rc and 5.0.15.

Thank you.