Bug #40889 funcs_1: wrong code within triggers_03e_db_level.inc causes warnings
Submitted: 20 Nov 2008 15:46 Modified: 8 Dec 2008 16:08
Reporter: Matthias Leich Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.1 OS:Any
Assigned to: Matthias Leich CPU Architecture:Any

[20 Nov 2008 15:46] Matthias Leich
Description:
var/log/myisam_trig_03e.warnings:
---------------------------------
mysqltest: Warning detected in included file ./suite/funcs_1/triggers/triggers_03e_db_level.inc at line 188: Suspicious command '--enable warnings' detected, was this intentional? Use # instead of -- to avoid this warning

triggers_03e_db_level.inc line 180:
-----------------------------------
   --enable warnings
correct would be
   --enable_warnings
We seem to have this bug in all source trees 5.1
and up (Nov 2008).

This bug causes that all <engine>_trig_03e tests
get such a warning, although they "pass".
There is no bad impact on the logics of the tests
nor any other following test.

How to repeat:
Please run for example
  ./mysql-test-run.pl --skip-ndb --suite=funcs_1 myisam_trig_03e
and inspect
  ./var/log/myisam_trig_03e.warnings
[21 Nov 2008 21:36] 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/59595

2711 Matthias Leich	2008-11-21
      Fox for Bug#40889 funcs_1: wrong code within triggers_03e_db_level.inc causes warnings
[24 Nov 2008 15:41] Patrick Crews
Ok to push.
[26 Nov 2008 16:03] Matthias Leich
Pushed to
6.0-bugteam
5.1-bugteam
[8 Dec 2008 10:20] Bugs System
Pushed into 5.1.31  (revid:matthias.leich@sun.com-20081121213629-onyms0qqsjvvbkge) (version source revid:patrick.crews@sun.com-20081126215253-rub0b9ykdsgx9fvl) (pib:5)
[8 Dec 2008 11:31] Bugs System
Pushed into 6.0.9-alpha  (revid:matthias.leich@sun.com-20081121213629-onyms0qqsjvvbkge) (version source revid:satya.bn@sun.com-20081126062555-dw4wp7jun7hoysdb) (pib:5)
[8 Dec 2008 16:08] Paul DuBois
Test case changes. No changelog entry needed.
[19 Jan 2009 11:30] Bugs System
Pushed into 5.1.31-ndb-6.2.17 (revid:tomas.ulin@sun.com-20090119095303-uwwvxiibtr38djii) (version source revid:tomas.ulin@sun.com-20090108105244-8opp3i85jw0uj5ib) (merge vers: 5.1.31-ndb-6.2.17) (pib:6)
[19 Jan 2009 13:08] Bugs System
Pushed into 5.1.31-ndb-6.3.21 (revid:tomas.ulin@sun.com-20090119104956-guxz190n2kh31fxl) (version source revid:tomas.ulin@sun.com-20090119104956-guxz190n2kh31fxl) (merge vers: 5.1.31-ndb-6.3.21) (pib:6)
[19 Jan 2009 16:13] Bugs System
Pushed into 5.1.31-ndb-6.4.1 (revid:tomas.ulin@sun.com-20090119144033-4aylstx5czzz88i5) (version source revid:tomas.ulin@sun.com-20090119144033-4aylstx5czzz88i5) (merge vers: 5.1.31-ndb-6.4.1) (pib:6)