MCPcopy Create free account
hub / github.com/MariaDB/server / is_temporary_table

Function is_temporary_table

sql/sql_base.h:655–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653*/
654
655inline bool is_temporary_table(TABLE_LIST *tl)
656{
657 if (tl->view || tl->schema_table)
658 return FALSE;
659
660 if (!tl->table)
661 return FALSE;
662
663 /*
664 NOTE: 'table->s' might be NULL for specially constructed TABLE
665 instances. See SHOW TRIGGERS for example.
666 */
667
668 if (!tl->table->s)
669 return FALSE;
670
671 return tl->table->s->tmp_table != NO_TMP_TABLE;
672}
673
674
675/**

Callers 15

get_schema_column_recordFunction · 0.85
mysql_rm_tableFunction · 0.85
mysql_rm_table_no_locksFunction · 0.85
lock_tables_precheckFunction · 0.85
truncate_tableMethod · 0.85
rename_tablesFunction · 0.85
open_and_process_tableFunction · 0.85
lock_table_namesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected