Details
Description
--ps-protocol do not test:
EXPLAIN
ANALYSE
CALL
and so on
List of what it test is here:
const char *ps_re_str =
|
"^("
|
"[[:space:]]*REPLACE[[:space:]]|"
|
"[[:space:]]*INSERT[[:space:]]|"
|
"[[:space:]]*UPDATE[[:space:]]|"
|
"[[:space:]]*DELETE[[:space:]]|"
|
"[[:space:]]*SELECT[[:space:]]|"
|
"[[:space:]]*CREATE[[:space:]]+TABLE[[:space:]]|"
|
"[[:space:]]*DO[[:space:]]|"
|
"[[:space:]]*SET[[:space:]]+OPTION[[:space:]]|"
|
"[[:space:]]*DELETE[[:space:]]+MULTI[[:space:]]|"
|
"[[:space:]]*UPDATE[[:space:]]+MULTI[[:space:]]|"
|
"[[:space:]]*INSERT[[:space:]]+SELECT[[:space:]])";
|
May be it has sense prohibit queries which has no sens, but allow all.
Attachments
Issue Links
- blocks
-
MDEV-17302 Add support for ALTER USER command in prepared statement.
- Closed
- includes
-
MDEV-17671 main.view fails in bb-10.4-ps branch in --ps
- Closed
-
MDEV-17672 main.analyze_stmt fails in bb-10.4-ps branch in --ps
- Closed
- is blocked by
-
MDEV-17673 main.cte_recursive fails in bb-10.4-ps branch in --ps
- Closed
- relates to
-
MDEV-18974 Result difference with --embedded --ps-protocol
- Closed