Fix &default fields in records not being initialized in coerced assignments.

Addresses #722
This commit is contained in:
Jon Siwek 2011-12-15 12:16:42 -06:00
parent f1e132cd1a
commit f302f2f3f2
15 changed files with 52 additions and 23 deletions

View file

@ -2,6 +2,6 @@
#path test.failure
#fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
#types time addr port addr port string string
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure US
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure UK
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure MX
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure US
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure UK
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure MX

View file

@ -2,8 +2,8 @@
#path test
#fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
#types time addr port addr port string string
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 success -
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure US
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure UK
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 success BR
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure MX
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 success unknown
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure US
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure UK
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 success BR
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure MX

View file

@ -2,5 +2,5 @@
#path test.success
#fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
#types time addr port addr port string string
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 success -
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 success BR
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 success unknown
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 success BR