OSDN Git Service

Fix documentation bug in SQLiteDatabase
authorSteve Pomeroy <steve@staticfree.info>
Thu, 14 Mar 2013 04:42:10 +0000 (00:42 -0400)
committerNick Kralevich <nnk@google.com>
Thu, 12 May 2016 23:53:10 +0000 (16:53 -0700)
commitc240b607f78a50064ba2866e43e8380bfe5383bc
treeada0cd66e50bd328815826588dec9ee2be893073
parenta63e1325b595d84dea7d33cb2e2c149acb326204
Fix documentation bug in SQLiteDatabase

The documentation incorrectly states that, "[insertWithOnConflict
returns] the primary key of the existing row if the input param
'conflictAlgorithm' = CONFLICT_IGNORE". Unfortunately, SQLite does
not provide such functionality.

Close: https://code.google.com/p/android/issues/detail?id=13045

Signed-off-by: Steve Pomeroy <steve@staticfree.info>
(cherry picked from commit 8fc3144fa5d9fe3a6c7fb6de80cb34d5cafabc05)

Change-Id: I89e56428e612d667259744e2bc3df124e5a2aa0e
core/java/android/database/sqlite/SQLiteDatabase.java