• unknown's avatar
    Bug #28605: SHOW CREATE VIEW with views using stored_procedures no · 9e06efb4
    unknown authored
     longer showing SP names.
    SHOW CREATE VIEW uses Item::print() methods to reconstruct the 
    statement text from the parse tree.
    The print() method for stored procedure calls needs allocate 
    space to print the function's quoted name.
    It was incorrectly calculating the length of the buffer needed 
    (was too short).
    Fixed to reflect the actual space needed.
    
    
    mysql-test/r/sp.result:
      Bug #28605: test case
    mysql-test/t/sp.test:
      Bug #28605: test case
    sql/item_func.cc:
      Bug #28605: fixed the string length calculation
    9e06efb4
item_func.cc 135 KB