• unknown's avatar
    Bug #28605: SHOW CREATE VIEW with views using stored_procedures no · 0c08d2b2
    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
    0c08d2b2
item_func.cc 135 KB