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

Method only_view_structure

sql/sql_lex.cc:4374–4391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4372*/
4373
4374bool LEX::only_view_structure()
4375{
4376 switch (sql_command) {
4377 case SQLCOM_SHOW_CREATE:
4378 case SQLCOM_CHECKSUM:
4379 case SQLCOM_SHOW_TABLES:
4380 case SQLCOM_SHOW_FIELDS:
4381 case SQLCOM_REVOKE_ALL:
4382 case SQLCOM_REVOKE:
4383 case SQLCOM_GRANT:
4384 case SQLCOM_CREATE_VIEW:
4385 return TRUE;
4386 case SQLCOM_CREATE_TABLE:
4387 return create_info.like();
4388 default:
4389 return FALSE;
4390 }
4391}
4392
4393
4394/*

Callers 1

create_schema_tableFunction · 0.80

Calls 1

likeMethod · 0.80

Tested by

no test coverage detected