1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Some changes suggested Serg, from message <20070223210659.GA24202@janus.mylan>

configure.in:
  Use smarter autoconf help macro.
sql/set_var.cc:
  Make a local variable static.
sql/sql_lex.cc:
  Don't include CPP condition where it saves little time and decreases legibility.
sql/sql_parse.cc:
  Use the name of the query in the error, instead of describing the feature.
sql/sql_profile.cc:
  Update copyright.
  
  Make I_S schema table columns uppercase.
sql/sql_profile.h:
  Update copyright.
sql/sql_select.cc:
  Chagne tab indentation to spaces.
This commit is contained in:
unknown
2007-02-26 13:11:36 -05:00
parent 633fb481c9
commit 9e2fd8caad
7 changed files with 45 additions and 62 deletions

View File

@@ -2707,7 +2707,7 @@ mysql_execute_command(THD *thd)
if (res)
goto error;
#else
my_error(ER_FEATURE_DISABLED, MYF(0), "query profiling", "enable-profiling");
my_error(ER_FEATURE_DISABLED, MYF(0), "SHOW PROFILES", "enable-profiling");
goto error;
#endif
break;
@@ -2724,7 +2724,7 @@ mysql_execute_command(THD *thd)
if (res)
goto error;
#else
my_error(ER_FEATURE_DISABLED, MYF(0), "query profiling", "enable-profiling");
my_error(ER_FEATURE_DISABLED, MYF(0), "SHOW PROFILE", "enable-profiling");
goto error;
#endif
break;