add read()
parent
e3bcea79c7
commit
cdb4071483
|
@ -58,6 +58,8 @@ namespace OpenSim.Modules.DataValue.Storage
|
|||
|
||||
using (IDataReader _mysqlReader = _mysqlCommand.ExecuteReader())
|
||||
{
|
||||
_mysqlReader.Read();
|
||||
|
||||
if (_mysqlReader["StorageKey"] != null)
|
||||
return true;
|
||||
|
||||
|
@ -76,6 +78,8 @@ namespace OpenSim.Modules.DataValue.Storage
|
|||
|
||||
using (IDataReader _mysqlReader = _mysqlCommand.ExecuteReader())
|
||||
{
|
||||
_mysqlReader.Read();
|
||||
|
||||
if (_mysqlReader["StorageData"] != null)
|
||||
return _mysqlReader["StorageData"].ToString();
|
||||
|
||||
|
|
Loading…
Reference in New Issue