• Sergey Vojtovich's avatar
    Applying InnoDB snapshot · fbfbdc21
    Sergey Vojtovich authored
    Detailed revision comments:
    
    r6785 | vasil | 2010-03-10 09:04:38 +0200 (Wed, 10 Mar 2010) | 11 lines
    branches/5.1:
    
    Add the missing --reap statements in innodb_bug38231.test. Probably MySQL
    enforced the presence of those recently and the test started failing like:
    
      main.innodb_bug38231                     [ fail ]
              Test ended at 2010-03-10 08:48:32
      
      CURRENT_TEST: main.innodb_bug38231
      mysqltest: At line 49: Cannot run query on connection between send and reap
    
    r6788 | vasil | 2010-03-10 10:53:21 +0200 (Wed, 10 Mar 2010) | 8 lines
    branches/5.1:
    
    In innodb_bug38231.test: replace the fragile sleep 0.2 that depends on timing
    with a more robust condition which waits for the TRUNCATE and LOCK commands
    to appear in information_schema.processlist. This could also break if there
    are other sessions executing the same SQL commands, but there are none during
    the execution of the mysql test.
    fbfbdc21
innodb_bug38231.test 1.94 KB