Whoops! left this out. second part of r1541

afrisby
Brian McBee 2007-08-08 05:04:22 +00:00
parent 185115ee51
commit 1b709be156
1 changed files with 4 additions and 3 deletions

View File

@ -673,10 +673,11 @@ namespace OpenSim.Framework.Data.MySQL
IDbCommand result = Query(sql, parameters); IDbCommand result = Query(sql, parameters);
//Console.WriteLine(result.CommandText); //Console.WriteLine(result.CommandText);
int x;
if (result.ExecuteNonQuery() == 1) if ((x = result.ExecuteNonQuery()) > 0)
{
returnval = true; returnval = true;
}
result.Dispose(); result.Dispose();
} }
catch (Exception e) catch (Exception e)