Skip to content

Commit 3911ca3

Browse files
committed
update_from_4.3_new_commerce.md: opt. MySQL query
1 parent 1f78dc0 commit 3911ca3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/update_and_migration/from_4.3/update_from_4.3_new_commerce.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,7 @@ The removable table are prefixed with `ses_` and `sve_`.
335335
FROM `information_schema`.`tables`
336336
WHERE `table_schema` = '<database_name>' AND (`table_name` LIKE 'ses_%' OR `table_name` LIKE 'sve_%')
337337
;
338-
339-
PREPARE drop_stmt FROM @drop_query;
340-
EXECUTE drop_stmt;
341-
DEALLOCATE PREPARE drop_stmt;
338+
EXECUTE IMMEDIATE @drop_query;
342339
```
343340

344341
=== "PostgreSQL"

0 commit comments

Comments
 (0)