]> git.pond.sub.org Git - empserver/blobdiff - src/lib/common/nsc.c
Permit truncating table product
[empserver] / src / lib / common / nsc.c
index 257b2c056073b1e14a3da8440a1286a2ac378c5c..f2ca8caf7a799608003a8839cae68fbebc3b73a8 100644 (file)
@@ -112,7 +112,7 @@ struct castr pchr_ca[] = {
 #define CURSTR struct pchrstr
     {"uid", fldoff(p_uid), NSC_INT, 0, NULL, EF_PRODUCT, 0},
     {"name", fldoff(p_name), NSC_STRING, 0, NULL, EF_BAD, 0},
-    {"sname", fldoff(p_sname), NSC_STRING, 0, NULL, EF_BAD, NSC_CONST},
+    {"sname", fldoff(p_sname), NSC_STRING, 0, NULL, EF_BAD, 0},
     {"ctype", fldoff(p_ctype), NSC_SITYPE(i_type), MAXPRCON, NULL,
      EF_ITEM, 0},
     {"camt", fldoff(p_camt), NSC_USHORT, MAXPRCON, NULL, EF_BAD, 0},