<p></p>
<p><b>@joto</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/osm2pgsql/pull/1249#discussion_r452240144">tests/test-output-flex-way-change.cpp</a>:</p>
<pre style='color:#555'>> +{
+ options_t options = testing::opt_t().slim().flex(conf_file);
+
+ testing::data_t data{tdata};
+ data.add({"w10 v1 dV Tt1=yes,t2=yes,tboth=yes Nn10",
+ "r30 v1 dV Tt=ag Mw10@mark,w11@,w12@mark,w13@,w14@mark"});
+
+ REQUIRE_NOTHROW(db.run_import(options, data()));
+
+ auto conn = db.db().connect();
+
+ CHECK(1 == conn.get_count("osm2pgsql_test_t1"));
+ CHECK(1 == conn.get_count("osm2pgsql_test_t2"));
+ CHECK(2 == conn.get_count("osm2pgsql_test_tboth"));
+ CHECK(0 == conn.get_count("osm2pgsql_test_tboth",
+ "way_id = 10 AND rel_ids = '{30}'"));
</pre>
<p>fixed</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/pull/1249#discussion_r452240144">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353QT3CP2HEF5VZAYAALR2XETNANCNFSM4OUWA7LA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353TFS2MMRLR2I57JG53R2XETNA5CNFSM4OUWA7LKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODKIAGFY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/pull/1249#discussion_r452240144",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/1249#discussion_r452240144",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>