Commit 13475abf authored by unknown's avatar unknown
Browse files

Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime

into  janus.mylan:/usr/home/serg/Abk/m51


configure.in:
  Auto merged
sql/sql_base.cc:
  Auto merged
parents 6646048f 5b7f05de
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2316,12 +2316,16 @@ then
  man_dirs="man"
  man1_files=`ls -1 $srcdir/man/*.1 | sed -e 's;^.*man/;;'`
  man1_files=`echo $man1_files`
  man8_files=`ls -1 $srcdir/man/*.8 | sed -e 's;^.*man/;;'`
  man8_files=`echo $man8_files`
else
  man_dirs=""
  man1_files=""
  man8_files=""
fi
AC_SUBST(man_dirs)
AC_SUBST(man1_files)
AC_SUBST(man8_files)

# Don't build readline, i have it already
AC_ARG_WITH(readline,
+4 −4
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ enum Constants
    MAX_ALGO_SIZE =  9,
    MAX_DIGEST_SZ = 25,    // SHA + enum(Bit or Octet) + length(4)
    DSA_SIG_SZ    = 40,
    NAME_MAX      = 512    // max total of all included names
    ASN_NAME_MAX  = 512    // max total of all included names
};


@@ -216,7 +216,7 @@ enum { SHA_SIZE = 20 };
// A Signing Authority
class Signer {
    PublicKey key_;
    char      name_[NAME_MAX];
    char      name_[ASN_NAME_MAX];
    byte      hash_[SHA_SIZE];
public:
    Signer(const byte* k, word32 kSz, const char* n, const byte* h);
@@ -270,8 +270,8 @@ private:
    byte      subjectHash_[SHA_SIZE];   // hash of all Names
    byte      issuerHash_[SHA_SIZE];    // hash of all Names
    byte*     signature_;
    char      issuer_[NAME_MAX];        // Names
    char      subject_[NAME_MAX];       // Names
    char      issuer_[ASN_NAME_MAX];    // Names
    char      subject_[ASN_NAME_MAX];   // Names
    char      beforeDate_[MAX_DATE_SZ]; // valid before date
    char      afterDate_[MAX_DATE_SZ];  // valid after date
    bool      verify_;                  // Default to yes, but could be off
+1 −1
Original line number Diff line number Diff line
@@ -665,7 +665,7 @@ void CertDecoder::GetName(NameType nt)

    SHA    sha;
    word32 length = GetSequence();  // length of all distinguished names
    assert (length < NAME_MAX);
    assert (length < ASN_NAME_MAX);
    length += source_.get_index();

    char*  ptr = (nt == ISSUER) ? issuer_ : subject_;
+2 −1
Original line number Diff line number Diff line
@@ -18,7 +18,8 @@
## Process this file with automake to create Makefile.in

man1_MANS =   @man1_files@
EXTRA_DIST =  $(man1_MANS)
man8_MANS =   @man8_files@
EXTRA_DIST =  $(man1_MANS) $(man8_MANS)

# Don't update the files from bitkeeper
%::SCCS/s.%
+1 −1
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ select * from t1;
N	M
3	0
delete P1.*,p2.* from `t1` AS P1 INNER JOIN (SELECT N FROM `t1` GROUP BY N HAVING Count(M) > 1) AS p2 ON P1.N = p2.N;
ERROR HY000: The target table p2 of the DELETE is not updatable
ERROR 42S02: Unknown table 'p2' in MULTI DELETE
delete P1.* from `t1` AS P1 INNER JOIN (SELECT aaa FROM `t1` GROUP BY N HAVING Count(M) > 1) AS P2 ON P1.N = P2.N;
ERROR 42S22: Unknown column 'aaa' in 'field list'
drop table t1;
Loading