Changeset 497

Show
Ignore:
Timestamp:
10/02/09 15:34:38 (15 years ago)
Author:
bhilburn
Message:

All SQL problems hammered out and tested.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/include/vtcross/cbr.h

    r496 r497  
    162162    command = "CREATE TABLE " + tablename + "("; 
    163163    for(size_t i = 0; i < numColumns; i++) { 
    164         command += _cols[i] + " FLOAT"; 
    165  
    166         /* If this column is not the last entry, add a comma to the command in 
    167          * preperation for the next entry. */ 
    168         if(j != _primlen - 1) 
    169             command += ", "; 
     164        command += _cols[i] + " FLOAT, "; 
    170165    } 
    171166