You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have whitespace between quotation marks or apostrophes, it gets replaced with one space and thus the logged SQL statement becomes deceptive as it isn't the same that gets executed.
For example during logging
SELECT x FROM y WHERE z = ' ';
will become
SELECT x FROM y WHERE z = ' ';
The method could be modified to use a regular expression that leaves such whitespace intact.
The text was updated successfully, but these errors were encountered:
If you have whitespace between quotation marks or apostrophes, it gets replaced with one space and thus the logged SQL statement becomes deceptive as it isn't the same that gets executed.
For example during logging
will become
The method could be modified to use a regular expression that leaves such whitespace intact.
The text was updated successfully, but these errors were encountered: