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

Method ddl

src/remote/server/server.cpp:2957–2987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2955
2956
2957ISC_STATUS rem_port::ddl(P_DDL* ddlL, PACKET* sendL)
2958{
2959/**************************************
2960 *
2961 * d d l
2962 *
2963 **************************************
2964 *
2965 * Functional description
2966 * Execute isc_ddl call.
2967 *
2968 **************************************/
2969 LocalStatus ls;
2970 CheckStatusWrapper status_vector(&ls);
2971 Rtr* transaction;
2972
2973 getHandle(transaction, ddlL->p_ddl_transaction);
2974
2975 Rdb* rdb = this->port_context;
2976 if (bad_db(&status_vector, rdb))
2977 {
2978 return this->send_response(sendL, 0, 0, &status_vector, false);
2979 }
2980
2981 const UCHAR* blr = ddlL->p_ddl_blr.cstr_address;
2982 const ULONG blr_length = ddlL->p_ddl_blr.cstr_length;
2983
2984 rdb->rdb_iface->executeDyn(&status_vector, transaction->rtr_iface, blr_length, blr);
2985
2986 return this->send_response(sendL, 0, 0, &status_vector, false);
2987}
2988
2989
2990void rem_port::disconnect(PACKET* sendL, PACKET* receiveL)

Callers 1

process_packetFunction · 0.80

Calls 3

send_responseMethod · 0.95
bad_dbFunction · 0.85
executeDynMethod · 0.45

Tested by

no test coverage detected