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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c867663df1
commit
824314e5a6
@ -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)
|
||||
{
|
||||
|
@ -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*);
|
||||
|
Loading…
Reference in New Issue
Block a user