Menu

#1098 (ok 4.0) small improvement in generated SQL

fixed
1
2013-06-11
2008-07-03
No

Hello,

creating a new database and copying in parallel the SQL statements into an install script I realized, that the "CREATE TABLE" statement isn't ended with a semicolon and the "CREATE DATABASE" statement has a leading space character before the last semicolon.

Discussion

  • Toralf Förster

    Toralf Förster - 2008-07-03

    Logged In: YES
    user_id=1358563
    Originator: YES

    Furthermore for the displayed "GRANT SELECT , INSERT ON `zert` . * TO" statement the spaces between the database name and the asterix makes problems at my system.

     
  • Toralf Förster

    Toralf Förster - 2008-07-25

    Logged In: YES
    user_id=1358563
    Originator: YES

    BTW an "ALTER TABLE" statement doesn't prefix the table name with the schema as it is done for other SQL commands.

     
  • Jürgen Wind

    Jürgen Wind - 2008-07-25

    Logged In: YES
    user_id=1383652
    Originator: NO

    >the spaces between the database name and the asterix makes problems at my system.
    very old bug, click edit as a workaround ....

     
  • Toralf Förster

    Toralf Förster - 2008-07-26

    Logged In: YES
    user_id=1358563
    Originator: YES

    >very old bug, click edit as a workaround ....
    h, please don't misunderstand me - phpmyadmin did what I want - but IMHO it would be better, if the commands were formatted always in the same way - especially if you copy + paste them into an external script for later use.

     
  • Marc Delisle

    Marc Delisle - 2008-12-07
    • summary: small improvement in SQL statements --> small improvement in generated SQL
     
  • Marc Delisle

    Marc Delisle - 2008-12-07

    For 3.1.2, semicolon added to CREATE TABLE.
    Todo: ALTER TABLE (many places to modify).

    Further fixes needed in the syntax highlight logic.

     
  • Marc Delisle

    Marc Delisle - 2009-02-12
    • labels: 502249 -->
    • milestone: 848696 -->
     
  • Michal Čihař

    Michal Čihař - 2009-03-03
    • labels: --> Data insertion/extraction/manipulation
     
  • Michal Čihař

    Michal Čihař - 2012-04-19
    • summary: small improvement in generated SQL --> (ok 4.0) small improvement in generated SQL
    • priority: 5 --> 1
    • assigned_to: nobody --> nijel
    • status: open --> open-fixed
     
  • Michal Čihař

    Michal Čihař - 2012-04-19

    This requested feature was implemented in the repository and will be part of a future release; thanks for suggesting.

     
  • Michal Čihař

    Michal Čihař - 2013-05-09
    • Status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed