Commit e9c2c8ba authored by unknown's avatar unknown
Browse files

Merge bk-internal.mysql.com:/home/bk/mysql-5.0

into  chilla.local:/home/mydev/mysql-5.0-axmrg


sql/ha_federated.cc:
  Auto merged
parents d337e90e 85b1701a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1323,3 +1323,10 @@ win/vs8cache.txt
zlib/*.ds?
zlib/*.vcproj
mysql-test/r/*.warnings
bdb/dist/db.h
bdb/dist/db_config.h
bdb/dist/db_cxx.h
bdb/dist/db_int.h
bdb/dist/include.tcl
*.gcda
*.gcno
+14 −9
Original line number Diff line number Diff line
@@ -49,6 +49,14 @@ BUILT_SOURCES = linked_client_sources linked_server_sources \
CLEANFILES = $(BUILT_SOURCES) bdb/build_unix/db.h
DISTCLEANFILES = ac_available_languages_fragment

# Our current filtering of "sql_yacc.cc" in "sql/Makefile.am" creates
# a problem, if a VPATH build and "sql_yacc.cc" was part of the source
# distribution we end up with one "sql_yacc.cc" in the source tree,
# and one in the build tree. This breaks "distcleancheck", until this
# is sorted out we redefine the find that scans for files not removed

distcleancheck_listfiles = find . -name sql_yacc.cc -o -type f -print

linked_include_sources:
	cd include; $(MAKE) link_sources
	echo timestamp > linked_include_sources
@@ -92,15 +100,12 @@ bin-dist: all
# Create initial database files for Windows installations.
dist-hook:
	rm -rf `find $(distdir) -type d -name SCCS -print`
	if echo "$(distdir)" | grep -q '^/' ; then \
	  scripts/mysql_install_db --no-defaults --windows \
		--basedir=$(top_srcdir) \
		--datadir="$(distdir)/win/data"; \
	else \
	rm -f  `find $(distdir) -type l -print`
	mkdir -p $(distdir)/win
	scripts/mysql_install_db --no-defaults --windows \
		 --basedir=$(top_srcdir) \
		 --datadir="$$(pwd)/$(distdir)/win/data"; \
	fi
		--basedir=$(top_builddir) \
		--datadir=$(distdir)/win/data \
		--srcdir=$(top_srcdir)

tags:
	support-files/build-tags
+0 −2
Original line number Diff line number Diff line
@@ -2397,7 +2397,6 @@ print_table_data(MYSQL_RES *result)
      const char *buffer;
      uint data_length;
      uint field_max_length;
      bool right_justified;
      uint visible_length;
      uint extra_padding;

@@ -3446,7 +3445,6 @@ server_version_string(MYSQL *mysql)
  {
    char *bufp = buf;
    MYSQL_RES *result;
    MYSQL_ROW cur;

    bufp = strnmov(buf, mysql_get_server_info(mysql), sizeof buf);

+2 −2
Original line number Diff line number Diff line
@@ -1419,7 +1419,7 @@ static uint dump_routines_for_db(char *db)
            routine body of other routines that are not the creator of!
          */
          DBUG_PRINT("info",("length of body for %s row[2] '%s' is %d",
                             routine_name, row[2], strlen(row[2])));
                             routine_name, row[2], (int) strlen(row[2])));
          if (strlen(row[2]))
          {
            char *query_str= NULL;
@@ -2001,7 +2001,7 @@ static uint get_table_structure(char *table, char *db, char *table_type,
    write_footer(sql_file);
    my_fclose(sql_file, MYF(MY_WME));
  }
  DBUG_RETURN(num_fields);
  DBUG_RETURN((uint) num_fields);
} /* get_table_structure */


+9 −8
Original line number Diff line number Diff line
@@ -948,8 +948,8 @@ int dyn_string_cmp(DYNAMIC_STRING* ds, const char *fname)
    die(NullS);
  if (!eval_result && (uint) stat_info.st_size != ds->length)
  {
    DBUG_PRINT("info",("Size differs:  result size: %u  file size: %llu",
		       ds->length, stat_info.st_size));
    DBUG_PRINT("info",("Size differs:  result size: %u  file size: %lu",
		       ds->length, (ulong) stat_info.st_size));
    DBUG_PRINT("info",("result: '%s'", ds->str));
    DBUG_RETURN(RESULT_LENGTH_MISMATCH);
  }
@@ -3132,14 +3132,15 @@ void do_connect(struct st_command *command)
    else if (!strncmp(con_options, "COMPRESS", 8))
      con_compress= 1;
    else
      die("Illegal option to connect: %.*s", end - con_options, con_options);
      die("Illegal option to connect: %.*s", 
          (int) (end - con_options), con_options);
    /* Process next option */
    con_options= end;
  }

  if (next_con == connections_end)
    die("Connection limit exhausted, you can have max %d connections",
        (sizeof(connections)/sizeof(struct st_connection)));
        (int) (sizeof(connections)/sizeof(struct st_connection)));

  if (find_connection_by_name(ds_connection_name.str))
    die("Connection %s already exists", ds_connection_name.str);
@@ -3460,10 +3461,10 @@ int read_line(char *buf, int size)
	DBUG_RETURN(0);
      }
      else if ((c == '{' &&
                (!my_strnncoll_simple(charset_info, "while", 5,
                                      buf, min(5, p - buf), 0) ||
                 !my_strnncoll_simple(charset_info, "if", 2,
                                      buf, min(2, p - buf), 0))))
                (!my_strnncoll_simple(charset_info, (const uchar*) "while", 5,
                                      (uchar*) buf, min(5, p - buf), 0) ||
                 !my_strnncoll_simple(charset_info, (const uchar*) "if", 2,
                                      (uchar*) buf, min(2, p - buf), 0))))
      {
        /* Only if and while commands can be terminated by { */
        *p++= c;
Loading