]> andersk Git - moira.git/commitdiff
Allow for empty account number (we're checking if they're valid for the
authorzacheiss <zacheiss>
Mon, 17 Sep 2001 23:32:08 +0000 (23:32 +0000)
committerzacheiss <zacheiss>
Mon, 17 Sep 2001 23:32:08 +0000 (23:32 +0000)
cases that matter anyway).

server/queries2.c

index efd6ee0c036ecb512997b4c8421f30486abbd04c..f08463b55da5db4dabda12e0ec97e7873e8dad58 100644 (file)
@@ -4802,7 +4802,7 @@ struct query Queries[] = {
     APPEND,
     "s",
     SUBNET_TABLE,
-    "INTO subnet (name, description, status, contact, account_number, saddr, mask, low, high, prefix, owner_type, owner_id, snet_id) VALUES (UPPER('%s'), NVL('%s', CHR(0)), %s, NVL('%s', CHR(0)), %s, %s, %s, %s, %s, NVL('%s', CHR(0)), '%s', %d, %s)",
+    "INTO subnet (name, description, status, contact, account_number, saddr, mask, low, high, prefix, owner_type, owner_id, snet_id) VALUES (UPPER('%s'), NVL('%s', CHR(0)), %s, NVL('%s', CHR(0)), NVL('%s', CHR(0)), %s, %s, %s, %s, NVL('%s', CHR(0)), '%s', %d, %s)",
     asnt_fields,
     12,
     0,
This page took 0.270531 seconds and 5 git commands to generate.