Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка при открытии базы сразу после старта. #999

Closed
pavel-pimenov opened this issue Aug 23, 2015 · 2 comments

Comments

@pavel-pimenov
Copy link
Owner

commented Aug 23, 2015

From a.rain...@gmail.com on March 29, 2013 13:15:55

Thrown: duplicate column name: block_size
First-chance exception at 0x000007fefd159e5d in flylinkdc_Debug_x64.exe: Microsoft C++ exception: sqlite3x::database_error at memory location 0x001ddaa0..

Original issue: http://code.google.com/p/flylinkdc/issues/detail?id=962

@pavel-pimenov

This comment has been minimized.

Copy link
Owner Author

commented Aug 23, 2015

From Pavel.Pimenov@gmail.com on March 29, 2013 07:19:24

if (l_rev <= 502)
safeAlter("ALTER TABLE fly_hash_block add column block_size int64");

делается попытка добавить колонку - для лечения.
исключение гасится внутри safeAlter

Мешает?

bool CFlylinkDBManager::safeAlter(const char* p_sql)
{
try
{
m_flySQLiteDB.executenonquery(p_sql);
return true;
}
catch (const database_error& e)
{
LogManager::getInstance()->message("safeAlter: " + e.getError());
}
return false;
}

@pavel-pimenov

This comment has been minimized.

Copy link
Owner Author

commented Aug 23, 2015

From a.rain...@gmail.com on March 29, 2013 07:24:10

Не, не мешает. Просто думал, что ошибка это.

Status: WontFix
Labels: -Type-Defect Type-Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.