Changeset 15800
- Timestamp:
- 2008-05-29 15:42:27 (6 months ago)
- Files:
-
- gsdl/trunk/lib/sqlitedbclass.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gsdl/trunk/lib/sqlitedbclass.cpp
r15798 r15800 151 151 text_tarray metadata_values; 152 152 153 // Get all the entries in the "value" column of the "document_metadata" table 153 // Check a metadata element has been specified 154 if (metadata_element_name == "") 155 { 156 return metadata_values; 157 } 158 159 // Get the entries in the "value" column of the "document_metadata" table where the element matches 154 160 text_t sql_cmd = "SELECT value FROM document_metadata WHERE element='" + metadata_element_name + "'"; 155 161 vector<text_tmap> sql_results;
