summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.>2006-04-11 12:15:57 +0200
committerunknown <msvensson@shellback.>2006-04-11 12:15:57 +0200
commit1b8de1e1e5aeb26435022702f1a2fa1b54c2f45b (patch)
tree8a0a1f5ccfe154bb9cddd63eb87d009f88f35e44
parentcaab082b299f04ef4aa42ce490da3b4c335fd83f (diff)
downloadmariadb-git-1b8de1e1e5aeb26435022702f1a2fa1b54c2f45b.tar.gz
Remove unused variable
-rw-r--r--sql/sql_delete.cc1
-rw-r--r--sql/sql_handler.cc1
2 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc
index 804270992e5..4365d5b04ce 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -870,7 +870,6 @@ bool mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok)
TABLE *table;
bool error;
uint closed_log_tables= 0, lock_logger= 0;
- TABLE_LIST *tmp_table_list;
uint path_length;
DBUG_ENTER("mysql_truncate");
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index 9dfa20da522..18b63ba49a3 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -337,7 +337,6 @@ bool mysql_ha_read(THD *thd, TABLE_LIST *tables,
ha_rows select_limit_cnt, ha_rows offset_limit_cnt)
{
TABLE_LIST *hash_tables;
- TABLE **table_ptr;
TABLE *table;
MYSQL_LOCK *lock;
List<Item> list;