Skip to content

Commit

Permalink
fix up for 8b40fd7 so it actually compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Jul 26, 2012
1 parent 613bba4 commit 34aa944
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/drivers/oci/Writer.cpp
Expand Up @@ -360,11 +360,8 @@ void Writer::CreateBlockIndex()
index_name.str("");
index_name << block_table_name <<"_objectid_idx";
name = index_name.str().substr(0,29);
oss << "ALTER TABLE "<< block_table_name << "ADD
CONSTRAINT "<< name << "
PRIMARY KEY (OBJ_ID, BLK_ID)
ENABLE
VALIDATE"
oss << "ALTER TABLE "<< block_table_name << "ADD CONSTRAINT "<< name <<
" PRIMARY KEY (OBJ_ID, BLK_ID) ENABLE VALIDATE";
// oss << "CREATE INDEX " << name <<" on "
// << block_table_name << "(OBJ_ID,BLK_ID) COMPRESS 2" ;
run(oss);
Expand Down

0 comments on commit 34aa944

Please sign in to comment.