From 2f05a7a06aa9fdca799507130aaeda5b9f658f84 Mon Sep 17 00:00:00 2001 From: prabatuty Date: Sat, 2 Jul 2011 17:20:31 +0000 Subject: [PATCH] performance skew for point lookup with no index compared to join with no index --- test/performance/wisc/odbcBench.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/performance/wisc/odbcBench.c b/test/performance/wisc/odbcBench.c index 10b3e3a0..7d5771b7 100644 --- a/test/performance/wisc/odbcBench.c +++ b/test/performance/wisc/odbcBench.c @@ -194,7 +194,8 @@ long long int onePerSel(SQLHANDLE henv, SQLHANDLE hdbc, SQLHANDLE hstmt) int uni2; char str1[52]; char str2[52]; - int val[] = {1, 5, 10, 50, 100, 500, 1000, 5000 ,7500, 9500}; + //int val[] = {1, 5, 10, 50, 100, 500, 1000, 5000 ,7500, 9500}; + int val[10] = {1, 5, 10, 50, 100, 250, 500, 750, 900, 999}; int tempTermVar=0; int tempTermVar2=0; char tempval[124]="Value"; @@ -256,7 +257,8 @@ long long int runReadTest (SQLHANDLE henv, SQLHANDLE hdbc,SQLHANDLE hstmt,bool f char str1[52]; char str2[52]; - int val[] = {1, 10, 100, 500, 1000, 5000 ,7500, 8000, 9000, 9999}; + //int val[] = {1, 10, 100, 500, 1000, 5000 ,7500, 8000, 9000, 9999}; + int val[10] = {1, 5, 10, 50, 100, 250, 500, 750, 900, 999}; int tempTermVar=0; char tempval[52]="Value"; int rc; -- 2.11.4.GIT