Whoops! left this out. second part of r1541
parent
185115ee51
commit
1b709be156
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue