MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / execute

Method execute

SRC/database/MySqlDatastore.cpp:829–839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827}
828
829int
830MySqlDatastore::execute(const char *query)
831{
832
833 if (mysql_query(&mysql, query) != 0) {
834 opserr << "MySqlDatastore::execute() - could not execute command: " << query;
835 opserr << endln << mysql_error(&mysql) << endln;
836 return -1;
837 } else
838 return 0;
839}
840

Callers 2

Example2.1.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected