Catch all possible exceptions in the mysql module. It throws non-mysql
exceptions as well.0.6.1-post-fixes
parent
4480d5527b
commit
bf4ccf3858
|
@ -87,7 +87,7 @@ namespace OpenSim.Data.MySQL
|
||||||
{
|
{
|
||||||
r = c.ExecuteReader();
|
r = c.ExecuteReader();
|
||||||
}
|
}
|
||||||
catch (MySqlException)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
System.Threading.Thread.Sleep(500);
|
System.Threading.Thread.Sleep(500);
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ namespace OpenSim.Data.MySQL
|
||||||
{
|
{
|
||||||
c.ExecuteNonQuery();
|
c.ExecuteNonQuery();
|
||||||
}
|
}
|
||||||
catch (MySqlException)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
System.Threading.Thread.Sleep(500);
|
System.Threading.Thread.Sleep(500);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue