Bug #18592390 QUERY TO I_S.TABLES AND I_S.COLUMNS LEADS TO HUGE MEMORY USAGE
As part of the fix find_files() prototype has been modified and mysql-cluster uses find_files() function. Hence modified find_files() call in ha_ndbcluster_binlog.cc file to make mysql-cluster build successful.
This commit is contained in:
parent
c9a38e8698
commit
31c803e8d0
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
|
Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@ -2542,7 +2542,8 @@ ndbcluster_check_if_local_tables_in_db(THD *thd, const char *dbname)
|
|||||||
char path[FN_REFLEN + 1];
|
char path[FN_REFLEN + 1];
|
||||||
|
|
||||||
build_table_filename(path, sizeof(path) - 1, dbname, "", "", 0);
|
build_table_filename(path, sizeof(path) - 1, dbname, "", "", 0);
|
||||||
if (find_files(thd, &files, dbname, path, NullS, 0) != FIND_FILES_OK)
|
if (find_files(thd, &files, dbname, path, NullS, 0, NULL) !=
|
||||||
|
FIND_FILES_OK)
|
||||||
{
|
{
|
||||||
DBUG_PRINT("info", ("Failed to find files"));
|
DBUG_PRINT("info", ("Failed to find files"));
|
||||||
DBUG_RETURN(true);
|
DBUG_RETURN(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user