Movatterモバイル変換


[0]ホーム

URL:


Google Git
Sign in
chromium /chromium /src /41a97c81e1bd78eddc704b00bdad106bf602778c
commit41a97c81e1bd78eddc704b00bdad106bf602778c[log][tgz]
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>Thu Feb 07 02:35:38 2013
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>Thu Feb 07 02:35:38 2013
tree9fa9ee2eb911762eab05aea401f17e0c87ea6f3a
parentf9036e33644b0fccd9987cb759a17ba7e51b0b2e[diff]
Implement sql::Connection::RazeAndClose().Raze() clears out the database, but cannot be called within atransaction.  Close() can only be called once all statements havecleared.  Error callbacks happen while executing statements (thusoften in a transaction, and at least one statement is outstanding).RazeAndClose() forcibly breaks outstanding transactions, calls Raze()to clear the database, then calls Close() to close the handle.  Allfuture operations against the database should fail safely (withoutaffecting storage and without crashing).BUG=166419, 136846Review URL:https://chromiumcodereview.appspot.com/12096073git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181152 0039d316-1c4b-4281-b951-d872f2087c98
8 files changed
tree: 9fa9ee2eb911762eab05aea401f17e0c87ea6f3a
  1. android_webview/
  2. apps/
  3. ash/
  4. base/
  5. breakpad/
  6. build/
  7. cc/
  8. chrome/
  9. chrome_frame/
  10. chromeos/
  11. cloud_print/
  12. components/
  13. content/
  14. courgette/
  15. crypto/
  16. dbus/
  17. device/
  18. extensions/
  19. google_apis/
  20. google_update/
  21. gpu/
  22. ipc/
  23. jingle/
  24. media/
  25. native_client_sdk/
  26. net/
  27. ppapi/
  28. printing/
  29. remoting/
  30. rlz/
  31. sandbox/
  32. sdch/
  33. skia/
  34. sql/
  35. sync/
  36. testing/
  37. third_party/
  38. tools/
  39. ui/
  40. webkit/
  41. win8/
  42. .DEPS.git
  43. .gitignore
  44. .gitmodules
  45. Android.mk
  46. AUTHORS
  47. codereview.settings
  48. DEPS
  49. LICENSE
  50. LICENSE.chromium_os
  51. OWNERS
  52. PRESUBMIT.py
  53. PRESUBMIT_test.py
  54. WATCHLISTS

[8]ページ先頭

©2009-2025 Movatter.jp