Project

General

Profile

« Previous | Next » 

Revision 3242

Added by Jing Tao over 17 years ago

transfer to value to upper case.

View differences:

src/edu/ucsb/nceas/metacat/QueryGroup.java
201 201
	        		sqlBuff.append(" "+operator+" ");
202 202
	        	}
203 203
	        	sqlBuff.append("SELECT DISTINCT docid FROM xml_path_index WHERE UPPER(nodedata) LIKE '%");
204
	        	sqlBuff.append(value);
204
	        	if (value != null)
205
	        	{
206
	        	    sqlBuff.append(value.toUpperCase());
207
	        	}
208
	        	else
209
	        	{
210
	        		sqlBuff.append(value);
211
	        	}
205 212
				sqlBuff.append("%' AND path IN (");
206 213
	    		//gets every path in query term object
207 214
	    		for (int i=0; i<queryTermVector.size(); i++)

Also available in: Unified diff