From 8a4ee3c4b4f720e95d5e1afcbbdd14d48aa3bcdc Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Mon, 21 May 2012 19:26:48 +0200 Subject: [PATCH] New upstream release - adds a -reconnect option. + Refresh all patches. --- debian/changelog | 7 ++++++ debian/patches/man-hyphen-and-spelling | 34 +++++++++++++------------- debian/patches/man-section | 4 +-- 3 files changed, 26 insertions(+), 19 deletions(-) diff --git a/debian/changelog b/debian/changelog index 922c22e..ea37dba 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mysqltcl (3.051-1) unstable; urgency=low + + * New upstream release - adds a -reconnect option. + + Refresh all patches. + + -- Sven Hoexter Mon, 21 May 2012 19:26:33 +0200 + mysqltcl (3.05-7) experimental; urgency=low * Temporarily build-depend on libmysqlclient-dev (>= 5.5.17) to diff --git a/debian/patches/man-hyphen-and-spelling b/debian/patches/man-hyphen-and-spelling index 937e427..ed01d35 100644 --- a/debian/patches/man-hyphen-and-spelling +++ b/debian/patches/man-hyphen-and-spelling @@ -2,7 +2,7 @@ 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 -@@ -396,17 +396,17 @@ The port number for the TCP/IP connectio +@@ -358,17 +358,17 @@ The port number for the TCP/IP connectio The socket or named pipe for the connection. .TP \fB-encoding\fR \fIencodingname\fR @@ -24,7 +24,7 @@ Mostly hyphen-as-minus and two spelling issue. .TP \fB-compress\fR \fIboolean\fR Use compression protocol. Default is false -@@ -442,23 +442,23 @@ Switch to SSL after handshake. Default i +@@ -404,23 +404,23 @@ Switch to SSL after handshake. Default i .TP \fB-sslkey\fR \fIstring\fR is the pathname to the key file. @@ -50,23 +50,23 @@ Mostly hyphen-as-minus and two spelling issue. is a list of allowable ciphers to use for SSL encryption. -Used if -ssl is true +Used if \-ssl is true - .RE .TP - \fB::mysql::use\fR \fIhandle\fR \fIdatabase\fR -@@ -498,9 +498,9 @@ is useful for scanning with a single \fI - .RE + \fB-reconnect\fR \fIboolean\fR + default is false. +@@ -466,9 +466,9 @@ is useful for scanning with a single \fI Example: .nf + -% ::mysql::sel $db "SELECT ID, NAME FROM FRIENDS" -list +% ::mysql::sel $db "SELECT ID, NAME FROM FRIENDS" \-list {1 Joe} {2 Phil} {3 John} -% ::mysql::sel $db "SELECT ID, NAME FROM FRIENDS" -flatlist +% ::mysql::sel $db "SELECT ID, NAME FROM FRIENDS" \-flatlist {1 Joe 2 Phil 3 John} + .fi - Note that both list syntaxes are faster than something like -@@ -511,7 +511,7 @@ Note that both list syntaxes are faster - {1 Joe 2 Phil 3 John} +@@ -482,7 +482,7 @@ Note that both list syntaxes are faster + .fi If \fIsql-statement\fR is a valid MySQL statement, but not a SELECT -statement, the command returns -1 after executing the statement, or an empty @@ -74,7 +74,7 @@ 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 -@@ -593,7 +593,7 @@ The first variable in the binding list i +@@ -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 already exist). @@ -83,7 +83,7 @@ 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. -@@ -641,7 +641,7 @@ This command can be faster as using of : +@@ -616,7 +616,7 @@ This command can be faster as using of : very big resultset will not overload client machine. The scipt should process the result immadiatly because it can block table (or tables) for another clients. @@ -92,7 +92,7 @@ Mostly hyphen-as-minus and two spelling issue. You must consider two aspects: memory consumption and performance. .TP \fB::mysql::seek\fR \fIhandle\fR \fIrow-index\fR -@@ -653,8 +653,8 @@ Row index 0 is the position just before +@@ -628,8 +628,8 @@ Row index 0 is the position just before row index 1 is the position just before the second row, and so on. You may specify a negative row index. @@ -103,16 +103,16 @@ Mostly hyphen-as-minus and two spelling issue. and so on. An out-of-bounds row index will cause ::mysql::seek to set the new current position either just before the first row (if the index is too negative), -@@ -740,7 +740,7 @@ name lname area phone +@@ -716,7 +716,7 @@ name lname area phone % ::mysql::col $db friends {name type length} {fname char 12} {lname char 20} {area char 5} {phone char 12} % ::mysql::sel $db {select * from friends} -% ::mysql::col $db -current name type length +% ::mysql::col $db \-current name type length {fname lname area phone} {char char char char} {12 20 5 12}] + .fi - .TP -@@ -918,7 +918,7 @@ Rollback the current transaction. +@@ -895,7 +895,7 @@ Rollback the current transaction. .TP \fB::mysql::nextresult\fR \fIhandle\fR If more query results exist, mysql::nextresult() reads the next query results and returns the status back to application. @@ -121,7 +121,7 @@ Mostly hyphen-as-minus and two spelling issue. .TP \fB::mysql::moreresult\fR \fIhandle\fR Returns true if more results exist from the currently executed query, and the application must call mysql::result to fetch the results. -@@ -951,7 +951,7 @@ if {[mysql::isnull $row]} { +@@ -930,7 +930,7 @@ if {[mysql::isnull $row]} { create new null object. It can be used to simulate returned row contents. .TP \fB::mysql::setserveroption\fR \fIhandle\fR \fIoption\fR @@ -130,7 +130,7 @@ Mostly hyphen-as-minus and two spelling issue. .TP \fB::mysql::shutdown\fR \fIhandle\fR Asks the database server to shut down. The connected user must have SHUTDOWN privileges. -@@ -974,7 +974,7 @@ All conflicts also generate a Tcl error. +@@ -954,7 +954,7 @@ All conflicts also generate a Tcl error. All MySQL server conflicts set mysqlstatus(code) to the numeric code of the MySQL error. .sp diff --git a/debian/patches/man-section b/debian/patches/man-section index 55475b4..5941b5d 100644 --- a/debian/patches/man-section +++ b/debian/patches/man-section @@ -1,12 +1,12 @@ This patch adds a proper section to the mysqltcl manpage. --- a/doc/mysqltcl.n +++ b/doc/mysqltcl.n -@@ -238,7 +238,7 @@ Database Class: \\fB\\$3\\fR +@@ -237,7 +237,7 @@ Database Class: \\fB\\$3\\fR .de UL \\$1\l'|0\(ul'\\$2 .. -.TH "mysqltcl" n 3.0 "" +.TH "mysqltcl" 3 3.0 "" .BS - .SH "NAME" + .SH NAME mysqltcl \- MySQL server access commands for Tcl -- 2.39.5