summaryrefslogtreecommitdiff
path: root/dev-vcs/subversion/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-01-25 08:09:37 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-01-25 08:09:37 +0000
commit693cc9b6e847a01c1bb692153021aaf9fb0fab25 (patch)
treebb2f7c299a4149f841c37a1208c7ac861aa95640 /dev-vcs/subversion/files
parent09351e78166b5e864197c4456ebae3f89dd0bed9 (diff)
gentoo resync : 25.01.2019
Diffstat (limited to 'dev-vcs/subversion/files')
-rw-r--r--dev-vcs/subversion/files/subversion-1.9.7-fix-wc-queries-test-test.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-vcs/subversion/files/subversion-1.9.7-fix-wc-queries-test-test.patch b/dev-vcs/subversion/files/subversion-1.9.7-fix-wc-queries-test-test.patch
new file mode 100644
index 000000000000..6658bd683e79
--- /dev/null
+++ b/dev-vcs/subversion/files/subversion-1.9.7-fix-wc-queries-test-test.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/605438
+
+--- a/subversion/tests/libsvn_wc/wc-queries-test.c 2019/01/24 10:33:42 1852012
++++ b/subversion/tests/libsvn_wc/wc-queries-test.c 2019/01/24 10:58:23 1852013
+@@ -670,7 +670,20 @@
+ || (item->expression_vars < 1))
+ && !is_result_table(item->table))
+ {
+- if (in_list(primary_key_statements, i))
++ if (MATCH_TOKEN(item->table, "sqlite_master"))
++ {
++ /* The sqlite_master table does not have an index.
++ Query explanations that say 'SCAN TABLE sqlite_master'
++ will appear if SQLite was compiled with the option
++ SQLITE_ENABLE_STMT_SCANSTATUS, for queries such
++ as 'DROP TABLE foo', but the performance of such
++ statements is not our concern here. */
++
++ /* "Slow" statements do expect too see a warning, however. */
++ if (is_slow_statement(i))
++ warned = TRUE;
++ }
++ else if (in_list(primary_key_statements, i))
+ {
+ /* Reported as primary key index usage in Sqlite 3.7,
+ as table scan in 3.8+, while the execution plan is