Project

General

Profile

« Previous | Next » 

Revision 2379

Added by sgarg almost 20 years ago

nodedata added to xml_index for nodes with nodetype=ATTRIBUTE also.

View differences:

src/upgrade_db_to_1_5.java
177 177
            rset1 = sqlStatement1.executeQuery(
178 178
                "select nodedata from xml_nodes where parentnodeid = " + nodeid
179 179
		+ " and docid = '" + docid
180
                + "' and nodetype = 'TEXT'");
180
                + "' and (nodetype = 'TEXT' or nodetype ='ATTRIBUTE')");
181 181

  
182 182
            while (rset1.next()) {
183 183
                String nodedata = rset1.getString(1);

Also available in: Unified diff