Changeset 476 for vtcross/trunk/src/include
- Timestamp:
- 09/09/09 14:01:14 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/include/vtcross/cbr.h
r472 r476 132 132 command = "CREATE TABLE " + tablename + "("; 133 133 for(size_t i = 0; i < numColumns; i++) { 134 command += _cols[i]; 135 command += " FLOAT"; 134 command += _cols[i] + " FLOAT"; 136 135 137 136 /* If this column is not the last entry, add a comma to the command in … … 163 162 command = "CREATE TABLE " + tablename + "("; 164 163 for(size_t i = 0; i < numColumns; i++) { 165 command += _cols[i]; 166 command += " FLOAT, "; 164 command += _cols[i] + " FLOAT"; 167 165 } 168 166 … … 280 278 } 281 279 282 command += _names[i] + ops_str[_ops[i]]; ;280 command += _names[i] + ops_str[_ops[i]]; 283 281 284 282 LOG("CBR::Search - command: %s\n", command.c_str()); … … 321 319 } 322 320 323 command += _names[i] + ops_str[_ops[i]]; ;321 command += _names[i] + ops_str[_ops[i]]; 324 322 325 323 sprintf(str_buffer, "%E", _vals[i]);