Skip to content

Query rewrite not working #257

Closed
Closed
@renecannao

Description

@renecannao

How to reproduce it:
On admin module:

mysql> insert into mysql_query_rules(rule_id, active, username, schemaname, flagIN, match_pattern, negate_match_pattern,flagOUT ,replace_pattern,destination_hostgroup,cache_ttl,apply)  values(1,1,NULL,NULL,0,"SELECT * FROM proxytest",1,0,"SELECT id FROM test",0,1,1);
Query OK, 1 row affected (0.01 sec)

mysql> LOAD MYSQL QUERY RULES TO RUNTIME;                                                                                                                                                      Query OK, 0 rows affected (0.01 sec)

On mysql module:

mysql> SELECT * FROM proxytest;
ERROR 1109 (42S02): Unknown table 'proxytest' in information_schema

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions