symbol-db: Add update_flag to the symbol unique constraint.
commit9d5ecb1908b642587886a505cd5c5bb246e18afe
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
Thu, 10 Jan 2013 16:43:13 +0000 (10 17:43 +0100)
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
Sat, 12 Jan 2013 15:05:35 +0000 (12 16:05 +0100)
tree65b2ce576e12b8ce97ff0b6656bd7e5ff37cb0eb
parenta78806222a826ded459852ae74c786659a431f5c
symbol-db: Add update_flag to the symbol unique constraint.

When inserting/updating symbols we only care that the symbol is unique among the
symbols that will be kept after all insertions/updates are done, eg. the symbols
whose update_flag is 1.

This should fix the following warning from appearing:
(anjuta:5183): libanjuta-symbol-db-WARNING **: SQL execute_non_select failed:
columns name, file_defined_id, file_position are not unique

https://bugzilla.gnome.org/show_bug.cgi?id=691485
plugins/symbol-db/symbol-db-engine-priv.h
plugins/symbol-db/tables.sql