commit | 7de9ead36336e353e8b0f89b7bc8df9f88adfc81 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Fri Aug 06 08:14:11 2010 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Fri Aug 06 15:33:19 2010 -0700 |
tree | b014a4f8d5b1386a1187699e5d3f55a7bbe9d7aa | |
parent | 54b1e05c14664e2928db748f0107cf1539033434 [diff] |
Encode relation id as protobuf tag in content Because we store all relations in effectively the same column, we use a different protobuf field number wrapped around the individual entity message. This allows scanning programs that just examine every row to be able to tell different relation's types apart and correctly inspect the fields of each entity. Change-Id: I26161a69ba78e97f0145db3d781ae60e96f66e0e Signed-off-by: Shawn O. Pearce <sop@google.com>