Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 436182 Details for
Bug 584852
app-editors/padre: DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at (eval 1903) line 37.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
padre-1.0.0-DBD::Sqlite.patch
padre-1.0.0-DBD::Sqlite.patch (text/plain), 1.11 KB, created by
Oleh
on 2016-06-02 14:10:05 UTC
(
hide
)
Description:
padre-1.0.0-DBD::Sqlite.patch
Filename:
MIME Type:
Creator:
Oleh
Created:
2016-06-02 14:10:05 UTC
Size:
1.11 KB
patch
obsolete
>From a9fb73f6b0ba76370f60300edfaf03f50e8326e0 Mon Sep 17 00:00:00 2001 >From: Charlie Gonzalez <itcharlie@gmail.com> >Date: Wed, 17 Feb 2016 00:36:08 -0500 >Subject: [PATCH] =?UTF-8?q?Applying=20Petr=20P=C3=ADsa=C5=99=20=20fix=20?= > =?UTF-8?q?=20for=20DBD::SQLite=20error?= >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This fix corrects test failures for DBD::SQLite inside Padre. >--- > lib/Padre/Locker.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/lib/Padre/Locker.pm b/lib/Padre/Locker.pm >index 7eaf919..e0db4e8 100644 >--- a/lib/Padre/Locker.pm >+++ b/lib/Padre/Locker.pm >@@ -102,7 +102,7 @@ sub shutdown { > sub db_increment { > my $self = shift; > unless ( $self->{db_depth}++ ) { >- Padre::DB->begin; >+ > > # Database operations we lock on are the most likely to > # involve writes. So opportunistically prevent blocking >@@ -111,6 +111,7 @@ sub db_increment { > # corruption if (and only if) there is a power outage, > # operating system crash, or catastrophic hardware failure. > Padre::DB->pragma( synchronous => 0 ); >+ Padre::DB->begin; > } > return; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 584852
: 436182 |
436184