• unknown's avatar
    Extensions to support this: · 1e63509d
    unknown authored
    SHOW CREATE DATABASE [IF NOT EXISTS] dbname
    
    Version dependant parts are displayed in appropriative comments:
    CREATE DATABASE /*!32312 IF NOT EXISTS*/ `ucs` /*!40100 DEFAULT CHARACTER SET ucs2*/
    
    
    client/mysqldump.c:
      SHOW CREATE DATABASE IF NOT EXISTS
    sql/mysql_priv.h:
      SHOW CREATE DATABASE IF NOT EXISTS
    sql/sql_db.cc:
      SHOW CREATE DATABASE IF NOT EXISTS
    sql/sql_parse.cc:
      SHOW CREATE DATABASE IF NOT EXISTS
    sql/sql_yacc.yy:
      SHOW CREATE DATABASE IF NOT EXISTS
    1e63509d
sql_parse.cc 104 KB