Changeset 116 for trunk/src/sh_database.c
- Timestamp:
- Aug 21, 2007, 11:34:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_database.c
r97 r116 1530 1530 } 1531 1531 1532 static int is_escaped(c onst char * p_in) {1532 static int is_escaped(char * p_in) { 1533 1533 1534 1534 int escp = 0; … … 1547 1547 /* do nothing */; 1548 1548 else if (*p == '\\') 1549 escp = 1; 1549 { 1550 #ifndef WITH_MYSQL 1551 if (p[1] == '\'') 1552 { 1553 *p = '\''; 1554 } 1555 #endif 1556 escp = 1; 1557 } 1550 1558 else 1551 1559 retv = S_FALSE; /* (*p == '\'' || *p == '\"') */
Note:
See TracChangeset
for help on using the changeset viewer.