~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/po.m4

Merge Revision revid:marko.makela@oracle.com-20100514133144-fe0l0b89tea4x4uu from MySQL InnoDB

Original revid:marko.makela@oracle.com-20100514133144-fe0l0b89tea4x4uu

Original Authors: Marko Mkel <marko.makela@oracle.com>
Original commit message:
Merge from mysql-5.1-innodb:

Post-merge fixes: Remove the MYSQL_VERSION_ID checks, because they only
apply to the InnoDB Plugin. Fix potential race condition accessing
trx->op_info and trx->detailed_error.
------------------------------------------------------------
revno: 3466
revision-id: marko.makela@oracle.com-20100514130815-ym7j7cfu88ro6km4
parent: marko.makela@oracle.com-20100514130228-n3n42nw7ht78k0wn
committer: Marko Mkel <marko.makela@oracle.com>
branch nick: mysql-5.1-innodb2
timestamp: Fri 2010-05-14 16:08:15 +0300
message:
  Make the InnoDB FOREIGN KEY parser understand multi-statements. (Bug #48024)
  Also make InnoDB thinks that /*/ only starts a comment. (Bug #53644).

  This fixes the bugs in the InnoDB Plugin.

  ha_innodb.h: Use trx_query_string() instead of trx_query() when
  available (MySQL 5.1.42 or later).

  innobase_get_stmt(): New function, to retrieve the currently running
  SQL statement.

  struct trx_struct: Remove mysql_query_str. Use innobase_get_stmt() instead.

  dict_strip_comments(): Add and observe the parameter sql_length. Treat
  /*/ as the start of a comment.

  dict_create_foreign_constraints(), row_table_add_foreign_constraints():
  Add the parameter sql_length.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# po.m4 serial 15 (gettext-0.17)
2
 
dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
 
1
# po.m4 serial 17 (gettext-0.18)
 
2
dnl Copyright (C) 1995-2010 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
5
5
dnl with or without modifications, as long as this notice is preserved.
17
17
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
18
18
dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
19
19
 
20
 
AC_PREREQ(2.50)
 
20
AC_PREREQ([2.50])
21
21
 
22
22
dnl Checks for all prerequisites of the po subdirectory.
23
23
AC_DEFUN([AM_PO_SUBDIRS],
29
29
 
30
30
  dnl Release version of the gettext macros. This is used to ensure that
31
31
  dnl the gettext macros and po/Makefile.in.in are in sync.
32
 
  AC_SUBST([GETTEXT_MACRO_VERSION], [0.17])
 
32
  AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])
33
33
 
34
34
  dnl Perform the following tests also if --disable-nls has been given,
35
35
  dnl because they are needed for "make dist" to work.
41
41
    [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
42
42
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
43
43
    :)
44
 
  AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
 
44
  AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT])
45
45
 
46
46
  dnl Test whether it is GNU msgfmt >= 0.15.
47
47
changequote(,)dnl