| 34825 | |
| 34826 | |
| 34827 | static void MYSQL_DML_GET_STAT(THD * thd, ha_rows &found, ha_rows &changed) |
| 34828 | { |
| 34829 | switch (thd->lex->sql_command) { |
| 34830 | case SQLCOM_UPDATE: |
| 34831 | case SQLCOM_UPDATE_MULTI: |
| 34832 | case SQLCOM_DELETE_MULTI: |
| 34833 | thd->lex->m_sql_cmd->get_dml_stat(found, changed); |
| 34834 | break; |
| 34835 | case SQLCOM_DELETE: |
| 34836 | found= 0; |
| 34837 | changed= (thd->get_row_count_func()); |
| 34838 | break; |
| 34839 | default: |
| 34840 | DBUG_ASSERT(0); |
| 34841 | } |
| 34842 | } |
| 34843 | |
| 34844 | |
| 34845 | static void MYSQL_DML_DONE(THD *thd, int rc, ha_rows found, ha_rows changed) |
no test coverage detected