robconery/massive — Issue #126: Maybe I found a bug with massive.oracle
Author: avatasia
Created: 2012-01-16 03:27:47+00:00
State: open

When I connect to an oracle db, I run a count(), then it raised unbox xxxx as a 'int' error. So I changed this line like this, then it run correct.

//return (int)Scalar("SELECT COUNT(*) FROM " + tableName+" "+where);
return Convert.ToInt32(Scalar("SELECT COUNT(*) FROM " + tableName + " " + where));