From 06a2448c77e7586d493aa63e72502cbfb6b2b1a1 Mon Sep 17 00:00:00 2001 From: Robert Bohne Date: Thu, 19 Feb 2009 10:56:48 +0100 Subject: [PATCH] Add default config handler in set function --- yasql.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yasql.in b/yasql.in index 700425a..c2d1f15 100755 --- a/yasql.in +++ b/yasql.in @@ -2969,6 +2969,8 @@ sub set_cmd { $conf{fast_describe} = (lc($1) eq 'on') ? 1 : 0; print "fast_describe is now " . ($conf{fast_describe} ? 'on' : 'off') . "\n"; + }elsif($input =~ /^\s*set\s+(\w+)\s*/ ){ + print "Can't set option $1\n"; } } -- 2.11.4.GIT