summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2005-11-02 22:13:10 -0800
committerunknown <igor@rurik.mysql.com>2005-11-02 22:13:10 -0800
commit3e2e44f044e51d51c5d6b00f94431d527e0a7cc1 (patch)
tree4ba99f12c339d99b22b7f6c8cc04fefcd6b45406 /sql/sql_table.cc
parentae68221d75eefef517fdf30bd9fa2d0e39fd0954 (diff)
downloadmariadb-git-3e2e44f044e51d51c5d6b00f94431d527e0a7cc1.tar.gz
Post review fixes.
sql/sql_table.cc: Post review fixes
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 80b337e61d5..bc604537139 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -2326,11 +2326,11 @@ send_result_message:
case HA_ADMIN_NOT_BASE_TABLE:
{
- char buf[ERRMSGSIZE+20];
- uint length=my_snprintf(buf, ERRMSGSIZE,
- ER(ER_CHECK_NOT_BASE_TABLE), operator_name);
- protocol->store("note", 4, system_charset_info);
- protocol->store(buf, length, system_charset_info);
+ char buf[ERRMSGSIZE+20];
+ uint length= my_snprintf(buf, ERRMSGSIZE,
+ ER(ER_CHECK_NOT_BASE_TABLE), operator_name);
+ protocol->store("note", 4, system_charset_info);
+ protocol->store(buf, length, system_charset_info);
}
break;
@@ -2442,7 +2442,7 @@ send_result_message:
{
pthread_mutex_lock(&LOCK_open);
remove_table_from_cache(thd, table->table->s->db,
- table->table->s->table_name, RTFC_NO_FLAG);
+ table->table->s->table_name, RTFC_NO_FLAG);
pthread_mutex_unlock(&LOCK_open);
/* Something may be modified, that's why we have to invalidate cache */
query_cache_invalidate3(thd, table->table, 0);