Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
sqlite database
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Dec 2009 at 04:27 UTC
Updated:
20 Jan 2010 at 04:20 UTC
Patch originally from http://drupal.org/node/654662#comment-2407998 with minor clean-up. Not familiar enough with DBTNG at this point to know if it really makes sense, but it does fix the issue.
Now, about MySQL…
| Comment | File | Size | Author |
|---|---|---|---|
| sqlite-database-d7.patch | 761 bytes | Garrett Albright |
Comments
Comment #1
Crell commentedIt looks like the right syntax, but I defer to chx and DamZ on whether or not it's the right fix for SQLite.
Comment #2
backwardgraphics commentedI can confirm this was an error for me also. The patch fixed it.
Thanks,
Jonny
Web Developer
JonnyTDesigns
Email Me
www.jonnytdesigns.com
Comment #3
Scunt commentedAlso fixed,
Thanks
Comment #4
chx commentedIf the optional ESCAPE clause is present, then the expression following the ESCAPE keyword must evaluate to a string consisting of a single character. This character may be used in the LIKE pattern to include literal percent or underscore characters. The escape character followed by a percent symbol, underscore or itself matches a literal percent symbol, underscore or escape character in the string, respectively.
So as we are using \ as the escape since the isuse linked in the original, this is right.
Comment #5
webchickCommitted to HEAD, thanks!