aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/MySQLManager.cs
diff options
context:
space:
mode:
authorBrian McBee2007-08-08 05:04:22 +0000
committerBrian McBee2007-08-08 05:04:22 +0000
commit1b709be15621e75b56dfa383d61bc437b9b03ffe (patch)
treef225a18d11cea0ade2de7605c260a29e7cd90426 /OpenSim/Framework/Data.MySQL/MySQLManager.cs
parentOGS1GridServices.cs (diff)
downloadopensim-SC-1b709be15621e75b56dfa383d61bc437b9b03ffe.zip
opensim-SC-1b709be15621e75b56dfa383d61bc437b9b03ffe.tar.gz
opensim-SC-1b709be15621e75b56dfa383d61bc437b9b03ffe.tar.bz2
opensim-SC-1b709be15621e75b56dfa383d61bc437b9b03ffe.tar.xz
Whoops! left this out. second part of r1541
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLManager.cs7
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)