mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 20:36:16 +01:00 
			
		
		
		
	
				build_table_name()'s flag argument should tell if the table is a temporary table. This was not always correctly set. To fix this build_table_name() calls check_if_frm_exists() for tables whose name starts with '#sql' to verify if the argument is an existing table. This patch fixes this by setting the flag argument correctly for temporary tables. I added a DBUG_ASSERT() to ensure that build_table_name() has set the flag argument correctly. The old code is still in place for release builds to ensure that 'DROP TABLE #sql-...' still can be used to drop temporary tables that was for some reason not cleaned up properly. Other things: - Added flag argument to alloc_table_share() for marking temporary tables.  | 
			||
|---|---|---|
| .. | ||
| archive | ||
| blackhole | ||
| columnstore | ||
| connect | ||
| csv | ||
| example | ||
| federated | ||
| federatedx | ||
| heap | ||
| innobase | ||
| maria | ||
| mroonga | ||
| myisam | ||
| myisammrg | ||
| oqgraph | ||
| perfschema | ||
| rocksdb | ||
| sequence | ||
| sphinx | ||
| spider | ||
| test_sql_discovery | ||