Update svn properties, minor formatting cleanup.
parent
c26d0ebc19
commit
f5c9600eb7
|
@ -213,7 +213,7 @@ namespace OpenSim.Data.SQLite
|
||||||
{
|
{
|
||||||
using (IDataReader reader = cmd.ExecuteReader())
|
using (IDataReader reader = cmd.ExecuteReader())
|
||||||
{
|
{
|
||||||
if(reader.Read())
|
if (reader.Read())
|
||||||
{
|
{
|
||||||
reader.Close();
|
reader.Close();
|
||||||
return true;
|
return true;
|
||||||
|
@ -492,7 +492,7 @@ namespace OpenSim.Data.SQLite
|
||||||
{
|
{
|
||||||
using (IDataReader reader = cmd.ExecuteReader())
|
using (IDataReader reader = cmd.ExecuteReader())
|
||||||
{
|
{
|
||||||
if(reader.Read())
|
if (reader.Read())
|
||||||
{
|
{
|
||||||
reader.Close();
|
reader.Close();
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -317,7 +317,7 @@ namespace OpenSim.Data.Tests
|
||||||
StringBuilder name = new StringBuilder();
|
StringBuilder name = new StringBuilder();
|
||||||
int size = random.Next(5,12);
|
int size = random.Next(5,12);
|
||||||
char ch ;
|
char ch ;
|
||||||
for(int i=0; i<size; i++)
|
for (int i=0; i<size; i++)
|
||||||
{
|
{
|
||||||
ch = Convert.ToChar(Convert.ToInt32(Math.Floor(26 * random.NextDouble() + 65))) ;
|
ch = Convert.ToChar(Convert.ToInt32(Math.Floor(26 * random.NextDouble() + 65))) ;
|
||||||
name.Append(ch);
|
name.Append(ch);
|
||||||
|
|
Loading…
Reference in New Issue