| 3066 | */ |
| 3067 | |
| 3068 | bool Sql_cmd_update::precheck(THD *thd) |
| 3069 | { |
| 3070 | if (!multitable) |
| 3071 | { |
| 3072 | if (update_precheck(thd, lex->query_tables)) |
| 3073 | return true; |
| 3074 | } |
| 3075 | else |
| 3076 | { |
| 3077 | if (multi_update_precheck(thd, lex->query_tables)) |
| 3078 | return true; |
| 3079 | } |
| 3080 | |
| 3081 | #ifdef WITH_WSREP |
| 3082 | WSREP_SYNC_WAIT(thd, WSREP_SYNC_WAIT_BEFORE_UPDATE_DELETE); |
| 3083 | #endif |
| 3084 | |
| 3085 | return false; |
| 3086 | |
| 3087 | #ifdef WITH_WSREP |
| 3088 | wsrep_error_label: |
| 3089 | #endif |
| 3090 | return true; |
| 3091 | } |
| 3092 | |
| 3093 | |
| 3094 | /** |
nothing calls this directly
no test coverage detected