From acfe48c66c088b8a210a96b509d81f459c01905b Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Mon, 16 Aug 2021 22:12:03 +0200 Subject: [PATCH 1/1] Refresh debian/patches/man-hyphen-and-spelling with some more input provided by lintian. --- debian/changelog | 2 ++ debian/patches/man-hyphen-and-spelling | 31 ++++++++++++++++++++++---- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 584c0d2..3b25760 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ mysqltcl (3.052-4) UNRELEASED; urgency=medium * Move to source format 3.0 (quilt). * Rules-Requires-Root: no in debian/control. * Update debian/watch to version 4. + * Refresh debian/patches/man-hyphen-and-spelling with some more + input provided by lintian. -- Sven Hoexter Mon, 16 Aug 2021 21:40:54 +0200 diff --git a/debian/patches/man-hyphen-and-spelling b/debian/patches/man-hyphen-and-spelling index ed01d35..52bd694 100644 --- a/debian/patches/man-hyphen-and-spelling +++ b/debian/patches/man-hyphen-and-spelling @@ -1,7 +1,9 @@ Fix some smaller issue in the manpage brought up by lintian. Mostly hyphen-as-minus and two spelling issue. ---- a/doc/mysqltcl.n -+++ b/doc/mysqltcl.n +Index: mysqltcl/doc/mysqltcl.n +=================================================================== +--- mysqltcl.orig/doc/mysqltcl.n ++++ mysqltcl/doc/mysqltcl.n @@ -358,17 +358,17 @@ The port number for the TCP/IP connectio The socket or named pipe for the connection. .TP @@ -74,6 +76,15 @@ Mostly hyphen-as-minus and two spelling issue. string if \fI-list\fR or \fI-flatlist\fR is specified. There is no pending result in this case. .sp +@@ -513,7 +513,7 @@ In case of multiple statement ::mysql::e + \fB::mysql::query\fR \fIhandle\fR \fIsql-select-statement\fR + Send \fIsql-select-statement\fR to the server. + .sp +-\fImysql::query\fR allow to send multiple nested queries on one handle (without need to build ++\fImysql::query\fR allow one to send multiple nested queries on one handle (without need to build + new handle or caching results). + mysql::query return a query handle that can be used as handle in commands as (mysql::fetch, + ::mysql::map, mysql::seek, mysql::col, mysql::result). @@ -566,7 +566,7 @@ The first variable in the binding list i the row, and so on. The variables are created in the current context (if they do not @@ -83,9 +94,12 @@ Mostly hyphen-as-minus and two spelling issue. placeholder in the binding list. If there are more columns than variables the extra columns are ignored. -@@ -616,7 +616,7 @@ This command can be faster as using of : +@@ -614,9 +614,9 @@ from server. + There is also no client cache. + This command can be faster as using of ::mysql::sel and by very big resultset will not overload client machine. - The scipt should process the result immadiatly because +-The scipt should process the result immadiatly because ++The scipt should process the result immediately because it can block table (or tables) for another clients. -If performance matter please test all alternatives separatly. +If performance matter please test all alternatives separately. @@ -139,3 +153,12 @@ Mostly hyphen-as-minus and two spelling issue. .TP command The last failing mysqltcl command. +@@ -973,7 +973,7 @@ You may set it to another value. + .PP + .SH "Backward compatibility" + Up from version 3.0 all mysql commands are declared in ::mysql namespace. +-All names for example mysqlconnect are also aviable but deprecated. ++All names for example mysqlconnect are also available but deprecated. + All old commands have the name pattern mysql{name} and the most of them are now mysql::{name}. + The exception is mysqlnext, which was renamed to mysql::fetch. + .SH "BUGS & POSSIBLE MISFEATURES" -- 2.39.5