New MySQL error (stable branche 28-06-14)

  • Just got this error:


    A critical error has been encountered while executing function
    main::quotaSql in /var/www/imscp/engine/quota/imscp-dsk-quota.


    Error was:


    ==========================================================================
    Error while executing query: You have an error in your SQL syntax; check
    the manual that corresponds to your MySQL server version for the right
    syntax to use near '-tux' at line 1

  • Hello ;


    @TheCry @Smallserver


    I'll fix this bug now.


    Thank for your report.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Re;


    I can reproduce the bug manually.


    Code
    1. Requête SQL :
    2. SHOW TABLE STATUS FROM em-tux
    3. MySQL a répondu:
    4. #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-tux' at line 1


    It's quoting issue...

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206