mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Remove unused variable
This commit is contained in:
		@@ -870,7 +870,6 @@ bool mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok)
 | 
				
			|||||||
  TABLE *table;
 | 
					  TABLE *table;
 | 
				
			||||||
  bool error;
 | 
					  bool error;
 | 
				
			||||||
  uint closed_log_tables= 0, lock_logger= 0;
 | 
					  uint closed_log_tables= 0, lock_logger= 0;
 | 
				
			||||||
  TABLE_LIST *tmp_table_list;
 | 
					 | 
				
			||||||
  uint path_length;
 | 
					  uint path_length;
 | 
				
			||||||
  DBUG_ENTER("mysql_truncate");
 | 
					  DBUG_ENTER("mysql_truncate");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -337,7 +337,6 @@ bool mysql_ha_read(THD *thd, TABLE_LIST *tables,
 | 
				
			|||||||
                   ha_rows select_limit_cnt, ha_rows offset_limit_cnt)
 | 
					                   ha_rows select_limit_cnt, ha_rows offset_limit_cnt)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  TABLE_LIST    *hash_tables;
 | 
					  TABLE_LIST    *hash_tables;
 | 
				
			||||||
  TABLE         **table_ptr;
 | 
					 | 
				
			||||||
  TABLE         *table;
 | 
					  TABLE         *table;
 | 
				
			||||||
  MYSQL_LOCK    *lock;
 | 
					  MYSQL_LOCK    *lock;
 | 
				
			||||||
  List<Item>	list;
 | 
					  List<Item>	list;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user