[ 
https://issues.apache.org/jira/browse/CB-5193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804295#comment-13804295
 ] 

ASF subversion and git services commented on CB-5193:
-----------------------------------------------------

Commit 6e4ef508e8f9f2d396515bd1d7465481d2f1285c in branch refs/heads/master 
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=6e4ef50 ]

CB-5193 Fix Android WebSQL sometime throwing SECURITY_ERR.

Turns out our Quota logic has been wrong all along. If we were to
actually track the quota needed, we'd need to store a map of
dbName->quota for all dbNames. Instead, we just set a really high quota
since we don't ever want to decline storage.

I *think* this fixes all of the SECURITY_ERR exceptions we've been
seeing. Even those on Honeycomb / ICS.


> WebSQL on Android fails with multiple databases
> -----------------------------------------------
>
>                 Key: CB-5193
>                 URL: https://issues.apache.org/jira/browse/CB-5193
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Andrew Grieve
>            Priority: Minor
>
> openDatabase() with two different names and the second one will fail.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to