Changeset 40483 for branches/czw_branch/20170908/psLib/src/db/psDB.c
- Timestamp:
- Jun 27, 2018, 3:31:55 PM (8 years ago)
- Location:
- branches/czw_branch/20170908
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psLib/src/db/psDB.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20170908
- Property svn:mergeinfo changed
-
branches/czw_branch/20170908/psLib/src/db/psDB.c
r31435 r40483 2425 2425 // used in a where clause... 2426 2426 psStringAppend(&query, "%s LIKE '%s'", itemName, item->data.str); 2427 } else if (item->comment && psStrcasestr(item->comment, "NOTLKE")) { 2428 // XXX ASC NOTE: we should have a better match for 2429 // char & varchar columns than this. LIKE is OK for 2430 // very large TEXT columns that really shouldn't be 2431 // used in a where clause... 2432 psStringAppend(&query, "%s NOT LIKE '%s'", itemName, item->data.str); 2427 2433 } else { 2428 2434 psStringAppend(&query, "%s %s '%s'", itemName, opStr, item->data.str);
Note:
See TracChangeset
for help on using the changeset viewer.
