From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgVOA-0004rD-49 for guix-patches@gnu.org; Fri, 20 Jul 2018 09:24:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgVO7-0001FY-0B for guix-patches@gnu.org; Fri, 20 Jul 2018 09:24:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43946) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgVO6-0001FK-ST for guix-patches@gnu.org; Fri, 20 Jul 2018 09:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fgVO6-0001jf-Jv for guix-patches@gnu.org; Fri, 20 Jul 2018 09:24:02 -0400 Subject: bug#32209: [PATCH] database: Use SQLite in Multi-thread mode. Resent-To: guix-patches@gnu.org Resent-Message-ID: References: <20180719105457.32267-1-clement@lassieur.org> <87o9f2oymn.fsf@gnu.org> From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur In-reply-to: <87o9f2oymn.fsf@gnu.org> Date: Fri, 20 Jul 2018 15:23:28 +0200 Message-ID: <87in5a59db.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 32209-done@debbugs.gnu.org Ludovic Court=C3=A8s writes: > Hello! > > Cl=C3=A9ment Lassieur skribis: > >> This disables mutexing on database connection and prepared statement obj= ects, >> thus making us responsible for serializing access to database connection= s and >> prepared statements. It may result in a performance improvement. >> >> * src/cuirass/database.scm (db-init, db-open): Pass the SQLITE_OPEN_NOMU= TEX >> flag to SQLITE-OPEN. > > Could you copy (part of) the paragraph above as a comment above the > =E2=80=98sqlite-open=E2=80=99 call in =E2=80=98db-open=E2=80=99? Done, and pushed. Thanks! Cl=C3=A9ment