D. Settings for Strict ANSI Compliance : ESQL Preprocessor Flags : -check_eos (C only)
 
Share this page                  
-check_eos (C only)
The -check_eos ESQL preprocessor flag directs the ESQL preprocessor to include code that ensures that all char strings inserted into a database are terminated with a null character (\0). By default, no checking is performed. Checking is performed only for char strings declared as arrays, and is not performed for strings declared as string pointers.
ANSI/ISO Entry SQL-92
Specify -check_eos. If your ESQL/C application attempts to insert a string that is not null-terminated, the DBMS returns an error (SQLSTATE 22024).
Ingres Default
No checking is performed.