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

Function MYSQL_DML_DONE

sql/sql_select.cc:34845–34863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34843
34844
34845static void MYSQL_DML_DONE(THD *thd, int rc, ha_rows found, ha_rows changed)
34846{
34847 switch (thd->lex->sql_command) {
34848 case SQLCOM_UPDATE:
34849 MYSQL_UPDATE_DONE(rc, found, changed);
34850 break;
34851 case SQLCOM_UPDATE_MULTI:
34852 MYSQL_MULTI_UPDATE_DONE(rc, found, changed);
34853 break;
34854 case SQLCOM_DELETE:
34855 MYSQL_DELETE_DONE(rc, changed);
34856 break;
34857 case SQLCOM_DELETE_MULTI:
34858 MYSQL_MULTI_DELETE_DONE(rc, changed);
34859 break;
34860 default:
34861 DBUG_ASSERT(0);
34862 }
34863}
34864
34865
34866/*

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected