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);
//Console.WriteLine(result.CommandText);
if (result.ExecuteNonQuery() == 1)
int x;
if ((x = result.ExecuteNonQuery()) > 0)
{
returnval = true;
}
result.Dispose();
}
catch (Exception e)