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