Changeset 86 for trunk/src/sh_error.c
- Timestamp:
- Jan 20, 2007, 11:04:59 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_error.c
r65 r86 110 110 int OnlyStderr = S_TRUE; 111 111 112 /* --- Enable facilities not safe for closeall(). --- 113 */ 114 int enableUnsafe = S_FALSE; 112 115 113 116 /********************************************* … … 145 148 { 146 149 OnlyStderr = flag; 150 return; 151 } 152 153 void sh_error_enable_unsafe (int flag) 154 { 155 enableUnsafe = flag; 147 156 return; 148 157 } … … 1026 1035 /* Full logging enabled. 1027 1036 */ 1028 if (OnlyStderr == BAD) /* full error logging enabled */1037 if (OnlyStderr == S_FALSE) /* full error logging enabled */ 1029 1038 { 1030 1039 … … 1083 1092 class != AUD) 1084 1093 { 1085 if (database_block == 0 )1094 if (database_block == 0 && enableUnsafe == S_TRUE) 1086 1095 { 1087 1096 /* truncates; query_max is 16k … … 1209 1218 ) 1210 1219 { 1211 if (prelude_block == 0 )1220 if (prelude_block == 0 && enableUnsafe == S_TRUE) 1212 1221 { 1213 1222 /* will truncate to 998 bytes
Note:
See TracChangeset
for help on using the changeset viewer.