cayley/graph/sql
Quentin Machu 3f5a4a7827 Fix NPE in SQL Quadstore
When `tx.Exec` fails and an error is returned, result is nil. Thus, `result.RowsAffected()` panics.

* Add a missing return statement in the error test.
* Add a second missing return statement just below to return the proper error message if we can't execute `RowsAffected` instead of saying that the triple doesn't exist.
2015-10-18 14:40:36 -04:00
..
all_iterator.go Fix NPEs in SQL Next and Contains 2015-08-26 01:19:28 -04:00
lru.go first working-ish Postgres backend 2015-08-12 16:03:25 -04:00
optimizers.go Option to remove size calls 2015-08-12 16:03:25 -04:00
optimizers_test.go Fix tests and update Godep 2015-08-12 16:03:25 -04:00
quadstore.go Fix NPE in SQL Quadstore 2015-10-18 14:40:36 -04:00
sql_iterator.go Fix NPEs in SQL Next and Contains 2015-08-26 01:19:28 -04:00
sql_link_iterator.go Can't use distinct, fix double-hashing bug 2015-08-12 16:03:25 -04:00
sql_link_iterator_test.go Fix tests and update Godep 2015-08-12 16:03:25 -04:00
sql_node_intersection.go Can't use distinct, fix double-hashing bug 2015-08-12 16:03:25 -04:00
sql_node_iterator.go Can't use distinct, fix double-hashing bug 2015-08-12 16:03:25 -04:00