From 2dcc9db3ca2aafad6b5bed9fb813569f60467e46 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Wed, 14 Dec 2016 09:20:33 +0100 Subject: [PATCH] Fixed bug #49805: sql pg:////?'select 3' does not work. --- doc/release_new_version | 6 ++++++ src/sql | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/release_new_version b/doc/release_new_version index ed42cc32..6e47d0cd 100644 --- a/doc/release_new_version +++ b/doc/release_new_version @@ -230,6 +230,12 @@ Haiku of the month: -- Ole Tange New in this release: +http://paperity.org/p/78557440/learning-string-distance-with-smoothing-for-ocr-spelling-correction +http://blog.genoglobe.com/2016/11/gnu-parallel.html +http://os.51cto.com/art/201612/524182.htm +http://tomkimpson.com/howto/gnuparallel/ +https://gist.github.com/Brainiarc7/24c966c8a001061ee86cc4bc05826bf4 +https://www.researchgate.net/publication/308186413_Determination_of_crystal_structures_of_proteins_of_unknown_identity_using_a_marathon_molecular_replacement_procedure_Structure_of_Stenotrophomonas_maltophilia_phosphate-binding_protein https://www.msi.umn.edu/support/faq/how-can-i-use-gnu-parallel-run-lot-commands-parallel https://cs.gmu.edu/~ygingold/singleimage/Decomposing%20Images%20into%20Layers%20via%20RGB-space%20Geometry%20(Tan%20et%20al%202016%20TOG)%20small.pdf https://arxiv.org/pdf/1511.02895v2.pdf diff --git a/src/sql b/src/sql index 12bba8c3..337b8bed 100755 --- a/src/sql +++ b/src/sql @@ -538,7 +538,7 @@ if($dburl{'query'}) { } do { - if(@ARGV) { + if(@ARGV or $dburl{'query'}) { $::opt_debug and print "$batch_command\n"; $::opt_verbose and print "$batch_command\n"; open(M,"| $batch_command") || die("mysql/psql/sqlplus not in path");