Skip to content

Commit 7d1aceb

Browse files
author
Brar Jasmeet Singh
committed
Fixed operation with unsigned int
1 parent 91984d6 commit 7d1aceb

File tree

36 files changed

+13
-221
lines changed

36 files changed

+13
-221
lines changed

GatherPageData.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import pickle
2+
import subprocess
3+
import numpy as np
4+
import re
5+
6+
data = np.zeros((4001,4))
7+
8+
for i in range(1000,5001,100):
9+
result = subprocess.check_output(["./write_fixed_len_pages","test.csv","myPage",str(i)])
10+
m = re.search("NUMBER OF RECORDS: (\d+)\nNUMBER OF PAGES: (\d+)\nTOTAL TIME: (\d+) milliseconds\n",result)
11+
if m:
12+
print(m.group(1),m.group(2),m.group(3))

csv2colstore

-116 KB
Binary file not shown.

csv2colstore.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ int main(int argc, char** argv) {
8888
init_heapfile(heap, page_size, column_heapfile);
8989
init_fixed_len_page(&page, page_size, record_size);
9090

91-
int j = 0;
91+
unsigned int j = 0;
9292
while(j<all_records->size()){
9393
col_record->push_back(all_records->at(j).at(i));
9494

csv2colstore.dSYM/Contents/Info.plist

Lines changed: 0 additions & 20 deletions
This file was deleted.
-323 KB
Binary file not shown.

csv2heapfile

-95.6 KB
Binary file not shown.

csv2heapfile.dSYM/Contents/Info.plist

Lines changed: 0 additions & 20 deletions
This file was deleted.
-297 KB
Binary file not shown.

delete

-62.7 KB
Binary file not shown.

delete.dSYM/Contents/Info.plist

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)