ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] E: incoming reject: perl-DBD-SQLite-1.11-alt1.src.rpm
Date: Sun, 16 Apr 2006 03:39:05 +0400
Message-ID: <20060415233905.GH11323@localhost> (raw)
In-Reply-To: <20060415224045.GF11323@localhost>

[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]

On Sun, Apr 16, 2006 at 02:40:45AM +0400, Alexey Tourbin wrote:
> --- DBD-SQLite-1.09/dbdimp.c-	2005-06-20 17:53:01 +0400
> +++ DBD-SQLite-1.09/dbdimp.c	2006-04-16 02:29:37 +0400
> @@ -259,7 +259,7 @@
>      imp_sth->retval = SQLITE_OK;
>      imp_sth->params = newAV();
>  
> -    if ((retval = sqlite3_prepare(imp_dbh->db, statement, 0, &(imp_sth->stmt), &extra))
> +    if ((retval = sqlite3_prepare(imp_dbh->db, statement, -1, &(imp_sth->stmt), &extra))
>          != SQLITE_OK)
>      {
>          if (imp_sth->stmt) {
> @@ -319,7 +319,7 @@
>          psv = hv_fetch((HV*)SvRV(sth), "Statement", 9, 0);
>          statement = (psv && SvOK(*psv)) ? SvPV_nolen(*psv) : "";
>          sqlite_trace(3, "re-prepare statement %s", statement);
> -        if ((retval = sqlite3_prepare(imp_dbh->db, statement, 0, &(imp_sth->stmt), &extra))
> +        if ((retval = sqlite3_prepare(imp_dbh->db, statement, -1, &(imp_sth->stmt), &extra))
>              != SQLITE_OK)
>          {
>              if (imp_sth->stmt) {

Но лучше не этот патч прикладывать, а изменить условие проверки с '>=0'
на '>0' в sqlite/src/prepare.c.  Это хак, но он по-видимому решает
больше проблем (с бинарной совместимостью), чем создает.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-04-15 23:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-14 12:32 ` Denis Smirnov
2006-04-14 12:33   ` Alexey Tourbin
2006-04-14 14:40     ` Денис Смирнов
2006-04-14 14:43       ` Dmitry V. Levin
2006-04-14 15:33         ` Денис Смирнов
2006-04-15 22:40           ` Alexey Tourbin
2006-04-15 23:25             ` Денис Смирнов
2006-04-15 23:32               ` Alexey Tourbin
2006-04-16  9:26                 ` Denis Smirnov
2006-04-15 23:39             ` Alexey Tourbin [this message]
2006-04-14 14:43       ` Alexey Tourbin
2006-04-14 15:35         ` Денис Смирнов
2006-04-14 15:48           ` Alexey Tourbin
2006-04-14 15:58             ` Alexey Tourbin
2006-04-14 17:28               ` Денис Смирнов
2006-04-14 17:43                 ` Alexey Tourbin
2006-04-14 18:09                   ` Денис Смирнов
2006-04-14 12:55   ` Dmitry V. Levin
2006-04-14 14:39     ` Денис Смирнов

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060415233905.GH11323@localhost \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git