Bug #40917 cut error message in embedded test innodb on solaris makes PB2 red
Submitted: 21 Nov 2008 9:48 Modified: 27 Nov 2008 13:25
Reporter: Tomas Ulin Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.1 OS:Solaris
Assigned to: CPU Architecture:Any

[21 Nov 2008 9:48] Tomas Ulin
Description:
see PB2

How to repeat:
<tomas> hf, any idea why this would fail in main.innodb on solaris only...?
<tomas>  ALTER TABLE t2 ADD FOREIGN KEY (a) REFERENCES t1 (a) ON DELETE SET NULL;
<tomas>  ALTER TABLE t2 MODIFY a INT NOT NULL;
<tomas> -ERROR HY000: Error on rename of '#sql-temporary' to './test/t2' (errno: 150)
<tomas> +ERROR HY000: Error on rename of '#sql-temporary' to './test/t2' (errno: 
* VN is now known as vnarayanan
<tomas> hf, in the embedded test suite...
<wlad> kaamos, here?
<tomas> ER_ERROR_ON_RENAME
<tomas>         eng "Error on rename of '%-.150s' to '%-.150s' (errno: %d)"
<tomas> in code:
* vnarayanan is now known as VN
<tomas>     my_error(ER_ERROR_ON_RENAME, MYF(0), from, to, error);
<tomas> and 'error' has type int....
* VN is now known as vnarayanan
<dlenev|gprs> tomas: so it does not print the whole error message ?
<tomas> dlenev|gprs, correct...
<tomas> but only on Solaris and in embedded
<tomas> seems to work everywhere else...
<dlenev|gprs> tomas: 6.0 ?
<tomas> dlenev|gprs, 5.1 is what I'm looking at
<dlenev|gprs> tomas: well... some error in embedded code inside my_error() is the first suspect
<tomas> dlenev|gprs, just very irritating as it makes PB2 red
[21 Nov 2008 10:05] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/59487

2749 Tomas Ulin	2008-11-21
      Bug #40917 cut error message in embedded test innodb on solaris makes PB2 red
[21 Nov 2008 10:07] Bugs System
Pushed into 5.1.29-ndb-6.2.17  (revid:tomas.ulin@sun.com-20081121100505-rcs6zhmnglj6shad) (version source revid:tomas.ulin@sun.com-20081121100505-rcs6zhmnglj6shad) (pib:5)
[21 Nov 2008 10:12] Bugs System
Pushed into 5.1.29-ndb-6.3.19  (revid:tomas.ulin@sun.com-20081121100505-rcs6zhmnglj6shad) (version source revid:tomas.ulin@sun.com-20081121101005-x10duk1bo0l7ouzu) (pib:5)
[21 Nov 2008 11:09] Bugs System
Pushed into 5.1.29-ndb-6.4.0  (revid:tomas.ulin@sun.com-20081121100505-rcs6zhmnglj6shad) (version source revid:jonas@mysql.com-20081121110436-16ok7hr8ng4gxea1) (pib:5)
[12 Dec 2008 23:27] Bugs System
Pushed into 6.0.9-alpha  (revid:tomas.ulin@sun.com-20081121100505-rcs6zhmnglj6shad) (version source revid:tomas.ulin@sun.com-20081209185954-9svcixh2p5hsfi6w) (pib:5)