Bug #10801 Test using "--embedded-server" has error messages truncated
Submitted: 23 May 2005 12:46 Modified: 1 Mar 2006 18:31
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S2 (Serious)
Version:5.0.6 OS:Some Unix, only 64 bit
Assigned to: Alexey Botchkov CPU Architecture:Any

[23 May 2005 12:46] Joerg Bruehe
Description:
Build of 5.0.6, based on ChangeSet
  1.1889 05/05/21 23:23:39 kent@mysql.com +5 -0
  default_modify.c:
    Use MY_STAT to declare argument to my_fstat()
  des_key_file.cc:
    Use local seach path for "mysql_priv.h"
  mysys.dsp, libmysqld.dsp, libmysql.dsp:
    New file needed, "../mysys/default_modify.c"

This happens in the "max" builds (no other builds had "embedded" tested) on
- Solaris 9 (Sparc, 64 bit)
- Solaris 10 (Sparc, 64 bit)
- Solaris 10 (x86_64, 64 bit)
- HP-UX 11 (HP-PA, 64 bit)
in test "archive".

This here is identical on Solaris 10 (Sparc, 64 bit) and HP-UX 11 (HP-PA, 64 bit):

-------------------------------------------------------
*** r/archive.result    Fri May 20 19:02:52 2005
--- r/archive.reject    Sat May 21 05:31:09 2005
***************
*** 193,199 ****
  1199
  rename table t3 to t4;
  Warnings:
! Error 7       Error on rename of './test/t3.ARN' to './test/t4.ARN' (Errcode: 2)
  select * from t4 where fld3='bonfire';
  auto  fld1    companynr       fld3    fld4    fld5    fld6
  1191  068504  00      bonfire corresponds     positively
--- 193,199 ----
  1199
  rename table t3 to t4;
  Warnings:
! Error 7       Error on rename of './test/t3.ARN' to './test/t4.ARN' (Errcod
  select * from t4 where fld3='bonfire';
  auto  fld1    companynr       fld3    fld4    fld5    fld6
  1191  068504  00      bonfire corresponds     positively
-------------------------------------------------------

On Solaris 9, the truncation happens even earlier:
-------------------------------------------------------
*** r/archive.result    Fri May 20 19:02:52 2005
--- r/archive.reject    Sat May 21 05:20:36 2005
***************
*** 196 ****
! Error 7       Error on rename of './test/t3.ARN' to './test/t4.ARN' (Errcode: 2)
--- 196 ----
! Error 7       Error on rename of './test/t3.ARN' to './test/t4.AR
-------------------------------------------------------

whereas it happens later on x86_64:
-------------------------------------------------------
*** r/archive.result    Fri May 20 19:02:52 2005
--- r/archive.reject    Sat May 21 02:12:48 2005
***************
*** 196 ****
! Error 7       Error on rename of './test/t3.ARN' to './test/t4.ARN' (Errcode: 2)
--- 196 ----
! Error 7       Error on rename of './test/t3.ARN' to './test/t4.ARN' (Errcode:
-------------------------------------------------------

Both "default" and "--ps-protocol" tests pass on all these platforms.

How to repeat:
Run the test suite.
[1 Mar 2006 18:31] Mike Hillyer
Documented in 5.0.19 changelog:

<listitem>
  <para>
    The embedded server failed various tests in the automated test
    suite. (Bug #9630, Bug #9631, Bug #9633, Bug #10801)
  </para>
</listitem>