• unknown's avatar
    sql_base.cc: · 82822612
    unknown authored
      Fixed bug #12470.
      A misplaced initialization of the cond_count counter
      resulted in a wrong calculation of it. This caused a memory
      corruption since this counter was used as a parameter of
      some memory allocation.
    view.test:
      Added a test case for bug #12470.
    
    
    mysql-test/t/view.test:
      Added a test case for bug #12470.
    sql/sql_base.cc:
      Fixed bug #12470.
      A misplaced initialization of the cond_count counter
      resulted in a wrong calculation of it. This caused a memory
      corruption since this counter was used as a parameter of
      some memory allocation.
    82822612
sql_base.cc 126 KB