Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
area363 committed Dec 20, 2024
1 parent 34dad95 commit 87b8c30
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,20 +307,12 @@ string network

connection.Open();
Console.WriteLine("2-6");
var preBarQuery = $"SELECT `BlockIndex` FROM {fbBARDbName} limit 1";
Console.WriteLine("2-7");
var preBarCmd = new MySqlCommand(preBarQuery, connection);
Console.WriteLine("2-8");

var dataReader = preBarCmd.ExecuteReader();
Console.WriteLine("2-9");
long prevBarDbTip = 0;
long prevBarDbTip = 12803378;
Console.WriteLine("3");
while (dataReader.Read())
{
Console.WriteLine("{0}", dataReader.GetInt64(0));
prevBarDbTip = dataReader.GetInt64(0);
}

connection.Close();
Console.WriteLine("4");
Expand Down

0 comments on commit 87b8c30

Please sign in to comment.