Changeset 40290 for trunk/psLib/src/db/psDB.c
- Timestamp:
- Dec 13, 2017, 8:53:30 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/db/psDB.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/db/psDB.c
r31435 r40290 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.
