Browse Source
Bug #21284: Add Field::needs_quote() method and use it in Federated
Bug #21284: Add Field::needs_quote() method and use it in Federated
The fix for bug 17608 removed the behavior of only adding quotes to values that needed it when constructing the queries sent by the federated storage engine. This restores that behavior, but using a new virtual Field method. (The old one had a hardcoded list of field types.) No test included. The behavior can be verified by inspecting the query log on the slave in the federated test.pull/73/head
2 changed files with 28 additions and 9 deletions
Write
Preview
Loading…
Cancel
Save
Reference in new issue