OSDN Git Service

Fix documentation bug in SQLiteDatabase
authorSteve Pomeroy <steve@staticfree.info>
Thu, 14 Mar 2013 04:42:10 +0000 (00:42 -0400)
committerSteve Pomeroy <steve@staticfree.info>
Thu, 12 May 2016 21:16:55 +0000 (21:16 +0000)
commit8fc3144fa5d9fe3a6c7fb6de80cb34d5cafabc05
treef9806f5859c3d67c72cea576a289e4f98b17379e
parentd58e7b2d15f4ca60d96bd0fa5e294c40eea76c14
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

Change-Id: Ife919c4dcf7bf703b692d338d1fb5844a532dd39
Signed-off-by: Steve Pomeroy <steve@staticfree.info>
core/java/android/database/sqlite/SQLiteDatabase.java