8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 06:03:02 +01:00

Print warnings occurred during commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dmitry Starodubov 2023-07-07 11:51:58 +03:00 committed by Alexander Peshkov
parent c867663df1
commit 824314e5a6
2 changed files with 2 additions and 17 deletions

View File

@ -1164,22 +1164,7 @@ bool ISQL_errmsg(Firebird::IStatus* st)
}
}
/*
if (state & Firebird::IStatus::STATE_WARNINGS)
{
const ISC_STATUS* w = st->getWarnings();
TEXT* err = errbuf;
unsigned es = sizeof(errbuf);
while (fb_interpret(err, es, &w)) {
STDERROUT(errbuf);
if (err == errbuf)
{
*err++ = '-';
--es;
}
}
}
*/
ISQL_warning(fbStatus);
if (Input_file)
{

View File

@ -35,7 +35,7 @@ void ISQL_array_dimensions(const TEXT*);
bool ISQL_dbcheck();
void ISQL_disconnect_database(bool);
bool ISQL_errmsg(Firebird::IStatus*);
void ISQL_warning(ISC_STATUS*);
void ISQL_warning(Firebird::CheckStatusWrapper*);
void ISQL_exit_db();
// CVC: Not found.
//int ISQL_extract(TEXT*, int, FILE*, FILE*, FILE*);