summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMattias Jonsson <mattias.jonsson@oracle.com>2010-08-16 16:25:23 +0200
committerMattias Jonsson <mattias.jonsson@oracle.com>2010-08-16 16:25:23 +0200
commitb67924eb4e6c29dd9f9e4ceddfc30b6f0a93ef0e (patch)
tree36fdffc104f31ab707ace2dda5265ed73d578f4d /sql
parent4b20ccafaa3bacfd11c5fcc61e1647dbbefe7bad (diff)
downloadmariadb-git-b67924eb4e6c29dd9f9e4ceddfc30b6f0a93ef0e.tar.gz
Rename of sql_alter_table -> sql_alter and sql_table_maintenance -> sql_admin
Diffstat (limited to 'sql')
-rw-r--r--sql/CMakeLists.txt4
-rw-r--r--sql/Makefile.am8
-rw-r--r--sql/sql_admin.cc (renamed from sql/sql_table_maintenance.cc)2
-rw-r--r--sql/sql_admin.h (renamed from sql/sql_table_maintenance.h)0
-rw-r--r--sql/sql_alter.cc (renamed from sql/sql_alter_table.cc)2
-rw-r--r--sql/sql_alter.h (renamed from sql/sql_alter_table.h)0
-rw-r--r--sql/sql_lex.h2
-rw-r--r--sql/sql_parse.cc2
-rw-r--r--sql/sql_partition_admin.cc2
-rw-r--r--sql/sql_yacc.yy4
10 files changed, 13 insertions, 13 deletions
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
index 1a162d39e0b..a32c4a4b7e2 100644
--- a/sql/CMakeLists.txt
+++ b/sql/CMakeLists.txt
@@ -72,8 +72,8 @@ SET (SQL_SOURCE
partition_info.cc rpl_utility.cc rpl_injector.cc sql_locale.cc
rpl_rli.cc rpl_mi.cc sql_servers.cc sql_audit.cc
sql_connect.cc scheduler.cc sql_partition_admin.cc
- sql_profile.cc event_parse_data.cc sql_alter_table.cc
- sql_signal.cc rpl_handler.cc mdl.cc sql_table_maintenance.cc
+ sql_profile.cc event_parse_data.cc sql_alter.cc
+ sql_signal.cc rpl_handler.cc mdl.cc sql_admin.cc
transaction.cc sys_vars.cc sql_truncate.cc datadict.cc
${GEN_SOURCES}
${MYSYS_LIBWRAP_SOURCE})
diff --git a/sql/Makefile.am b/sql/Makefile.am
index b99afcbdbeb..4fb7bfe919c 100644
--- a/sql/Makefile.am
+++ b/sql/Makefile.am
@@ -122,11 +122,11 @@ noinst_HEADERS = item.h item_func.h item_sum.h item_cmpfunc.h \
sql_plugin.h authors.h event_parse_data.h \
event_data_objects.h event_scheduler.h \
sql_partition.h partition_info.h partition_element.h \
- sql_audit.h sql_alter_table.h sql_partition_admin.h \
+ sql_audit.h sql_alter.h sql_partition_admin.h \
contributors.h sql_servers.h sql_signal.h records.h \
sql_prepare.h rpl_handler.h replication.h mdl.h \
sql_plist.h transaction.h sys_vars.h sql_truncate.h \
- sql_table_maintenance.h datadict.h
+ sql_admin.h datadict.h
mysqld_SOURCES = sql_lex.cc sql_handler.cc sql_partition.cc \
item.cc item_sum.cc item_buff.cc item_func.cc \
@@ -143,7 +143,7 @@ mysqld_SOURCES = sql_lex.cc sql_handler.cc sql_partition.cc \
datadict.cc sql_profile.cc \
sql_prepare.cc sql_error.cc sql_locale.cc \
sql_update.cc sql_delete.cc uniques.cc sql_do.cc \
- procedure.cc sql_test.cc sql_table_maintenance.cc \
+ procedure.cc sql_test.cc sql_admin.cc \
sql_truncate.cc \
log.cc init.cc derror.cc sql_acl.cc \
unireg.cc des_key_file.cc \
@@ -172,7 +172,7 @@ mysqld_SOURCES = sql_lex.cc sql_handler.cc sql_partition.cc \
sql_builtin.cc sql_tablespace.cc partition_info.cc \
sql_servers.cc event_parse_data.cc sql_signal.cc \
rpl_handler.cc mdl.cc transaction.cc sql_audit.cc \
- sql_alter_table.cc sql_partition_admin.cc sha2.cc
+ sql_alter.cc sql_partition_admin.cc sha2.cc
nodist_mysqld_SOURCES = mini_client_errors.c pack.c client.c my_time.c my_user.c
diff --git a/sql/sql_table_maintenance.cc b/sql/sql_admin.cc
index b7033208788..6f0405bd4a8 100644
--- a/sql/sql_table_maintenance.cc
+++ b/sql/sql_admin.cc
@@ -27,7 +27,7 @@
#include "sql_acl.h" // *_ACL
#include "sp.h" // Sroutine_hash_entry
#include "sql_parse.h" // check_table_access
-#include "sql_table_maintenance.h"
+#include "sql_admin.h"
static int send_check_errmsg(THD *thd, TABLE_LIST* table,
const char* operator_name, const char* errmsg)
diff --git a/sql/sql_table_maintenance.h b/sql/sql_admin.h
index fdfffec8361..fdfffec8361 100644
--- a/sql/sql_table_maintenance.h
+++ b/sql/sql_admin.h
diff --git a/sql/sql_alter_table.cc b/sql/sql_alter.cc
index 607a8d5f5df..046e09b20a3 100644
--- a/sql/sql_alter_table.cc
+++ b/sql/sql_alter.cc
@@ -17,7 +17,7 @@
// check_merge_table_access
#include "sql_table.h" // mysql_alter_table,
// mysql_exchange_partition
-#include "sql_alter_table.h"
+#include "sql_alter.h"
bool Alter_table_statement::execute(THD *thd)
{
diff --git a/sql/sql_alter_table.h b/sql/sql_alter.h
index 6a17f87f5a4..6a17f87f5a4 100644
--- a/sql/sql_alter_table.h
+++ b/sql/sql_alter.h
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index d0f20d4e997..0eb8e5de6d2 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -923,7 +923,7 @@ enum enum_alter_table_change_level
/**
Temporary hack to enable a class bound forward declaration
of the enum_alter_table_change_level enumeration. To be
- removed once Alter_info is moved to the sql_alter_table.h
+ removed once Alter_info is moved to the sql_alter.h
header.
*/
class Alter_table_change_level
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 2f02188d122..806a2984905 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -50,7 +50,7 @@
// mysql_backup_table,
// mysql_restore_table
#include "sql_truncate.h" // mysql_truncate_table
-#include "sql_table_maintenance.h" // mysql_assign_to_keycache
+#include "sql_admin.h" // mysql_assign_to_keycache
#include "sql_connect.h" // check_user,
// decrease_user_connections,
// thd_init_client_charset, check_mqh,
diff --git a/sql/sql_partition_admin.cc b/sql/sql_partition_admin.cc
index fc0183e9b3d..fee33303a04 100644
--- a/sql/sql_partition_admin.cc
+++ b/sql/sql_partition_admin.cc
@@ -18,7 +18,7 @@
#include "sql_lex.h" // Sql_statement
#include "sql_truncate.h" // mysql_truncate_table,
// Truncate_statement
-#include "sql_table_maintenance.h" // Analyze/Check/.._table_statement
+#include "sql_admin.h" // Analyze/Check/.._table_statement
#include "sql_partition_admin.h" // Alter_table_*_partition
#ifndef WITH_PARTITION_STORAGE_ENGINE
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 64ce1a5f64b..443b80799aa 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -51,9 +51,9 @@
#include "sp_pcontext.h"
#include "sp_rcontext.h"
#include "sp.h"
-#include "sql_alter_table.h" // Alter_table*_statement
+#include "sql_alter.h" // Alter_table*_statement
#include "sql_truncate.h" // Truncate_statement
-#include "sql_table_maintenance.h" // Analyze/Check..._table_stmt
+#include "sql_admin.h" // Analyze/Check..._table_stmt
#include "sql_partition_admin.h" // Alter_table_*_partition_stmt
#include "sql_signal.h"
#include "event_parse_data.h"