MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / act_alter

Function act_alter

src/gpre/sql.cpp:1069–1100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1067//
1068
1069static act* act_alter()
1070{
1071
1072 switch (gpreGlob.token_global.tok_keyword)
1073 {
1074
1075 case KW_DATABASE:
1076 case KW_SCHEMA:
1077 return act_alter_database();
1078
1079 case KW_DOMAIN:
1080 return act_alter_domain();
1081
1082 case KW_INDEX:
1083 PAR_get_token();
1084 return act_alter_index();
1085
1086 case KW_STOGROUP:
1087 PAR_error("ALTER STOGROUP not supported");
1088
1089 case KW_TABLE:
1090 PAR_get_token();
1091 return act_alter_table();
1092
1093 case KW_TABLESPACE:
1094 PAR_error("ALTER TABLESPACE not supported");
1095
1096 default:
1097 PAR_error("Invalid ALTER request");
1098 }
1099 return NULL; // silence compiler
1100}
1101
1102
1103//____________________________________________________________

Callers 1

SQL_actionFunction · 0.85

Calls 6

act_alter_databaseFunction · 0.85
act_alter_domainFunction · 0.85
PAR_get_tokenFunction · 0.85
act_alter_indexFunction · 0.85
act_alter_tableFunction · 0.85
PAR_errorFunction · 0.70

Tested by

no test coverage detected