Article: - rename the deployment section to "Развёртывание через config/services.ini" - keep only first-level sections in the table of contents, drop the archive entry - add the warning block and the archive table in the series format - rename screenshots to meaningful English names Publishing helpers (docs/publish): - build_article_html.py builds the HTML fragment for the site editor with anchored headings, linked table of contents, captions and code blocks - code/ holds each code block as a separate file, description.txt the short description Code: - static/script.js: bump version to 0.3.0 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ResetLastError();
| |
| |
if(!DatabaseTransactionBegin(g_db))
| |
{
| |
DatabaseFinalize(request);
| |
return false;
| |
}
| |
| |
DatabaseRead(request);
| |
const int error = GetLastError();
| |
DatabaseFinalize(request);
| |
| |
if(error != 0 && error != ERR_DATABASE_NO_MORE_DATA)
| |
{
| |
DatabaseTransactionRollback(g_db);
| |
return false;
| |
}
| |
| |
if(!DatabaseTransactionCommit(g_db))
| |
return false;
|