1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00
Files
mariadb/sql
Mohanad 46d7450f75 MDEV-35635: START SLAVE UNTIL allows CHANGE MASTER TO options
Restrict START SLAVE UNTIL to slave options disallowing master options

START SLAVE UNTIL was allowing both slave and master options, which
could cause confusion and misconfigurations. This commit fixes that by
restricting it to these valid slave options:
     - MASTER_LOG_FILE, MASTER_LOG_POS
     - RELAY_LOG_FILE, RELAY_LOG_POS
     - MASTER_GTID_POS

The parser change replaces `master_file_def` with `slave_until_file_def`
in `sql_yacc.yy`, making sure master options like MASTER_USE_GTID and
MASTER_DEMOTE_TO_SLAVE aren’t allowed anymore.
2025-07-22 13:58:38 -06:00
..
2025-03-14 12:08:56 +04:00
2025-06-18 07:50:39 +02:00
2024-08-12 09:32:30 +01:00
2024-11-13 16:38:53 +01:00
2024-11-10 19:22:21 +01:00
2024-11-05 14:00:48 -08:00
2024-11-05 14:00:48 -08:00
2025-06-18 07:50:39 +02:00
2024-12-02 17:51:17 +02:00
2024-01-19 09:07:48 +02:00
2025-03-14 12:08:56 +04:00
2025-03-14 12:08:56 +04:00
2024-12-02 11:35:34 +02:00
2024-12-02 17:51:17 +02:00
2024-12-02 17:51:17 +02:00
2024-10-30 15:11:17 +01:00
2025-02-06 16:46:36 +01:00
2024-12-02 11:35:34 +02:00
2025-05-22 09:22:55 +02:00
2023-12-21 02:14:59 +01:00
2024-01-27 12:09:54 +01:00
2024-01-27 12:09:54 +01:00
2024-11-08 07:17:00 +01:00
2025-06-18 07:50:39 +02:00
2025-06-18 07:50:39 +02:00
2024-11-29 13:43:17 +02:00
2025-05-22 09:22:55 +02:00
2024-12-05 10:11:58 +01:00
2025-05-22 09:22:55 +02:00
2025-05-22 09:22:55 +02:00
2024-07-16 15:54:22 +08:00
2024-07-16 15:54:22 +08:00
2025-04-18 17:11:01 +02:00
2025-04-22 16:26:36 -04:00
2025-05-22 09:22:55 +02:00
2025-04-29 11:18:00 +10:00
2025-04-29 11:18:00 +10:00
2025-05-22 09:22:55 +02:00
2024-11-10 19:22:21 +01:00
2025-05-22 09:22:55 +02:00
2024-07-22 15:14:50 +02:00
2024-12-02 11:35:34 +02:00
2024-12-02 11:35:34 +02:00
2024-12-02 11:35:34 +02:00
2024-12-02 17:51:17 +02:00
2024-07-08 22:40:16 +02:00
2025-05-03 12:06:36 +02:00
2025-04-29 11:18:00 +10:00
2025-04-18 17:11:01 +02:00
2025-05-22 09:22:55 +02:00
2025-05-22 09:22:55 +02:00
2025-03-14 12:08:56 +04:00
2024-10-03 15:59:20 +10:00
2025-03-14 12:08:56 +04:00
2024-11-29 12:37:46 +02:00
2024-05-30 16:04:00 +03:00
2025-04-29 11:18:00 +10:00
2025-06-25 17:59:45 +03:00
2025-04-02 14:07:01 +03:00
2025-04-29 11:18:00 +10:00
2025-06-18 07:50:39 +02:00
2024-10-30 15:11:17 +01:00
2025-05-22 09:22:55 +02:00
2024-06-24 13:09:47 +03:00
2025-05-22 09:22:55 +02:00
2024-12-02 17:51:17 +02:00
2024-12-02 11:35:34 +02:00
2024-12-02 17:51:17 +02:00
2024-07-22 15:14:50 +02:00
2025-04-29 11:18:00 +10:00
2025-03-14 12:08:56 +04:00
2025-05-22 09:22:55 +02:00
2025-05-22 09:22:55 +02:00
2025-05-22 09:22:55 +02:00
2025-03-14 12:08:56 +04:00
2025-03-14 12:08:56 +04:00
2025-01-29 11:17:38 +01:00
2025-05-03 12:06:36 +02:00
2024-12-02 17:51:17 +02:00
2025-05-22 09:22:55 +02:00
2025-05-22 09:22:55 +02:00
2025-04-18 17:11:01 +02:00
2024-12-02 17:51:17 +02:00
2024-12-05 09:20:36 +01:00
2025-05-03 12:06:36 +02:00
2025-06-18 07:50:39 +02:00
2024-06-24 13:09:47 +03:00
2024-12-02 17:51:17 +02:00
2024-12-02 17:51:17 +02:00
2025-06-18 07:50:39 +02:00
2025-05-22 09:22:55 +02:00
2024-01-18 19:22:23 +02:00
2025-05-22 09:22:55 +02:00
2025-06-18 07:50:39 +02:00
2025-06-18 07:50:39 +02:00
2025-04-29 11:18:00 +10:00
2025-03-14 12:08:56 +04:00
2025-03-14 12:08:56 +04:00
2025-03-14 12:08:56 +04:00
2025-03-03 11:07:56 +02:00
2025-05-22 09:22:55 +02:00
2024-06-27 10:26:09 +03:00
2024-12-02 17:51:17 +02:00
2025-05-22 09:22:55 +02:00
2025-04-26 10:47:03 +02:00
2025-05-22 09:22:55 +02:00
2025-05-22 09:22:55 +02:00
2025-04-29 11:18:00 +10:00
2025-03-14 12:08:56 +04:00
2025-05-22 09:22:55 +02:00
2024-07-03 12:45:30 +02:00
2025-01-09 09:41:38 +02:00
2025-06-18 07:50:39 +02:00
2023-12-17 11:20:43 +01:00
2024-12-02 17:51:17 +02:00
2025-04-29 11:18:00 +10:00
2025-06-18 09:27:49 +02:00
2025-03-14 12:08:56 +04:00
2025-05-22 09:22:55 +02:00
2025-06-18 09:27:49 +02:00
2025-04-29 11:18:00 +10:00
2025-03-14 12:08:56 +04:00
2025-03-14 12:08:56 +04:00
2024-12-02 17:51:17 +02:00
2025-06-18 07:50:39 +02:00
2025-05-22 09:22:55 +02:00
2024-12-02 17:51:17 +02:00
2025-06-18 07:50:39 +02:00
2024-01-10 18:01:46 +11:00
2025-04-29 11:18:00 +10:00
2024-06-24 13:09:47 +03:00
2025-06-18 07:50:39 +02:00
2025-03-14 12:08:56 +04:00
2024-12-02 17:51:17 +02:00
2024-12-02 11:35:34 +02:00
2025-03-14 12:08:56 +04:00
2025-03-14 12:08:56 +04:00
2025-03-14 12:08:56 +04:00
2024-01-02 17:37:58 +02:00
2024-06-27 10:26:09 +03:00
2025-06-18 07:50:39 +02:00
2024-05-10 20:02:18 +02:00
2024-01-03 15:55:17 +02:00
2025-06-18 07:43:24 +02:00
2025-06-18 07:50:39 +02:00
2024-10-03 13:24:43 +03:00
2024-09-09 13:50:38 +03:00
2025-04-18 17:11:01 +02:00
2025-02-06 16:46:36 +01:00
2024-11-08 07:17:00 +01:00
2025-03-03 11:07:56 +02:00