[packages/ruby-sqlite3] - removed obsolete patch
baggins
baggins at pld-linux.org
Sun Aug 31 19:47:52 CEST 2014
commit 186b18b5b22f43d25db0ab6aac1ac3df02bbff56
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Aug 31 19:47:29 2014 +0200
- removed obsolete patch
ruby-sqlite3-threadmutex.patch | 35 -----------------------------------
1 file changed, 35 deletions(-)
---
diff --git a/ruby-sqlite3-threadmutex.patch b/ruby-sqlite3-threadmutex.patch
deleted file mode 100644
index dfd7f54..0000000
--- a/ruby-sqlite3-threadmutex.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -Nur sqlite3-ruby-1.2.4.orig/lib/sqlite3/database.rb sqlite3-ruby-1.2.4.threadmutex/lib/sqlite3/database.rb
---- sqlite3-ruby-1.2.4.orig/lib/sqlite3/database.rb 2008-06-26 07:52:02.000000000 -0600
-+++ sqlite3-ruby-1.2.4.threadmutex/lib/sqlite3/database.rb 2008-08-30 10:44:55.000000000 -0600
-@@ -4,6 +4,7 @@
- require 'sqlite3/statement'
- require 'sqlite3/translator'
- require 'sqlite3/value'
-+require 'thread'
-
- module SQLite3
-
-@@ -82,6 +83,7 @@
- @results_as_hash = options.fetch(:results_as_hash,false)
- @type_translation = options.fetch(:type_translation,false)
- @translator = nil
-+ @transaction_mutex = Mutex.new
- @transaction_active = false
- end
-
-@@ -151,6 +153,7 @@
- # The Statement can then be executed using Statement#execute.
- #
- def prepare( sql )
-+ @transaction_mutex.synchronize do
- stmt = @statement_factory.new( self, sql )
- if block_given?
- begin
-@@ -161,6 +164,7 @@
- else
- return stmt
- end
-+ end
- end
-
- # Executes the given SQL statement. If additional parameters are given,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-sqlite3.git/commitdiff/186b18b5b22f43d25db0ab6aac1ac3df02bbff56
More information about the pld-cvs-commit
mailing list