[lxc-devel] [lxc-ci/master] Enable debug in sqlite

freeekanayaka on Github lxc-bot at linuxcontainers.org
Thu Jul 18 10:12:19 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 417 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190718/81b60632/attachment.bin>
-------------- next part --------------
From 3882498f72c35e17aa56494e8ad19219fbfacb45 Mon Sep 17 00:00:00 2001
From: Free Ekanayaka <free.ekanayaka at canonical.com>
Date: Thu, 18 Jul 2019 12:09:41 +0200
Subject: [PATCH] Enable debug in sqlite

This gets us meaningful messages if assertion fail

Signed-off-by: Free Ekanayaka <free.ekanayaka at canonical.com>
---
 bin/update-cache | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/update-cache b/bin/update-cache
index 348cfa0..705b5a3 100755
--- a/bin/update-cache
+++ b/bin/update-cache
@@ -20,7 +20,7 @@ git clone -q https://github.com/CanonicalLtd/sqlite "${TEMP_DIR}/sqlite"
 cd "${TEMP_DIR}/sqlite"
 git log -1 --format=format:%ci%n | sed -e 's/ [-+].*$//;s/ /T/;s/^/D /' > manifest
 git log -1 --format=format:%H > manifest.uuid
-./configure --enable-replication >/dev/null 2>&1
+./configure --enable-debug --enable-replication >/dev/null 2>&1
 make >/dev/null 2>&1
 cd - >/dev/null
 


More information about the lxc-devel mailing list