diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLManager.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLManager.cs b/OpenSim/Framework/Data.MySQL/MySQLManager.cs index 3624c7d..a2c6750 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLManager.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLManager.cs | |||
@@ -673,10 +673,11 @@ namespace OpenSim.Framework.Data.MySQL | |||
673 | IDbCommand result = Query(sql, parameters); | 673 | IDbCommand result = Query(sql, parameters); |
674 | 674 | ||
675 | //Console.WriteLine(result.CommandText); | 675 | //Console.WriteLine(result.CommandText); |
676 | 676 | int x; | |
677 | if (result.ExecuteNonQuery() == 1) | 677 | if ((x = result.ExecuteNonQuery()) > 0) |
678 | { | ||
678 | returnval = true; | 679 | returnval = true; |
679 | 680 | } | |
680 | result.Dispose(); | 681 | result.Dispose(); |
681 | } | 682 | } |
682 | catch (Exception e) | 683 | catch (Exception e) |