Der folgende Code veranschaulicht, wie Kommunikationsfehler aus Embedded SQL-Anweisungen verarbeitet werden.
if( psqlca->sqlcode == SQLE_MOBILINK_COMMUNICATIONS_ERROR ) { printf( " Stream error information:\n" " stream_error_code = %ld\t(ss_error_code)\n" " error_string = \"%s\"\n" " system_error_code = %ld\n", (long)info.stream_error.stream_error_code, info.stream_error.error_string, (long)info.stream_error.system_error_code ); } |
SQLE_MOBILINK_COMMUNICATIONS_ERROR ist der allgemeine Fehlercode für Kommunikationsfehler.
Um UltraLite klein zu halten, übergibt die Runtime-Engine Zahlen anstelle von Meldungen.
![]() |
Kommentieren Sie diese Seite in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |