#236 Function editor parses DATETIME return value as DATE

3.3.4
closed-fixed
MySQL (68)
5
2012-05-14
2012-04-16
Burger.M.
No

Function editor splits DATETIME return value type in two parts. "DATE" becomes return value type and "time" overflows into function body in textarea.
See the attached screenshot.

How to reproduce bug:
1) Create a function, that returns DATETIME:

DELIMITER $$

CREATE FUNCTION `datetimeBug` ()
RETURNS DATETIME
BEGIN
RETURN CURRENT_TIMESTAMP;
END

2) Open the function in editor - see the image.

Discussion

  • Burger.M.

    Burger.M. - 2012-04-16

    Function editor screenshot

     
  • Jakub Vrána

    Jakub Vrána - 2012-05-14
    • status: open --> closed-fixed
     
  • Jakub Vrána

    Jakub Vrána - 2012-05-14

    Thank you for the report, I've fixed it in Git. You can download the "Current development version" from http://www.adminer.org/#download

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks