Fix DCHECK in second call to GetCachedStatement
When an SQL statement has leading or trailing whitespace, the stored statement doesn't match when performing the DCHECK. Fixed by trimming whitespace before comparing the statements. Bug: 894884 Change-Id: If49b06103ed4fa3d49e623f62ce43247b2a27cf3 Reviewed-on: https://chromium-review.googlesource.com/c/1338177Reviewed-by:Chris Mumford <cmumford@chromium.org> Commit-Queue: Dan H <harringtond@google.com> Cr-Commit-Position: refs/heads/master@{#608787}
Showing
Please register or sign in to comment