9251b.patch
| new/src/com/goldencode/p2j/persist/FQLPreprocessor.java 2024-10-18 06:23:39 +0000 | ||
|---|---|---|
| 340 | 340 |
** TJD 20240103 Include EQ RECID into earlyPublishEntities |
| 341 | 341 |
** 114 SP 20241002 Fixed fixEmptyContains(): call trim() before checking if the text is empty. |
| 342 | 342 |
** 115 SP 20241016 Added caching of translate() output. |
| 343 |
** 116 SP 20241018 If the where clause is null in translate(), just exit and return null, |
|
| 344 |
** as there is nothing to translate or cache. |
|
| 343 | 345 |
*/ |
| 344 | 346 | |
| 345 | 347 |
/* |
| ... | ... | |
| 1081 | 1083 |
String where, |
| 1082 | 1084 |
boolean singleBuffer) |
| 1083 | 1085 |
{
|
| 1084 |
if (bound.size() != 1) |
|
| 1086 |
if (where == null) |
|
| 1087 |
{
|
|
| 1088 |
return null; |
|
| 1089 |
} |
|
| 1090 | ||
| 1091 |
int bounds = bound.size(); |
|
| 1092 |
if (bounds != 1) |
|
| 1085 | 1093 |
{
|
| 1086 | 1094 |
singleBuffer = false; |
| 1087 | 1095 |
} |
| 1088 | ||
| 1089 |
int bounds = bound.size(); |
|
| 1090 | 1096 |
String[] boundAliases = new String[bounds]; |
| 1091 | 1097 |
String[] defAliases = new String[bounds]; |
| 1092 | 1098 | |