List:Commits« Previous MessageNext Message »
From:magnus.blaudd Date:May 31 2011 2:38pm
Subject:bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4434)
View as plain text  
#At file:///data0/magnus/mysql/7.0/ based on revid:jonas@stripped

 4434 magnus.blaudd@stripped	2011-05-31
      ndb
       - mark ndbcluster_find_files() as static and remove it from header file

    modified:
      sql/ha_ndbcluster.cc
      sql/ha_ndbcluster.h
=== modified file 'sql/ha_ndbcluster.cc'
--- a/sql/ha_ndbcluster.cc	2011-04-29 11:45:56 +0000
+++ b/sql/ha_ndbcluster.cc	2011-05-31 14:38:10 +0000
@@ -10533,10 +10533,11 @@ int ndbcluster_find_all_files(THD *thd)
   DBUG_RETURN(-(skipped + unhandled));
 }
 
-int ndbcluster_find_files(handlerton *hton, THD *thd,
-                          const char *db,
-                          const char *path,
-                          const char *wild, bool dir, List<LEX_STRING> *files)
+
+static int
+ndbcluster_find_files(handlerton *hton, THD *thd,
+                      const char *db, const char *path,
+                      const char *wild, bool dir, List<LEX_STRING> *files)
 {
   DBUG_ENTER("ndbcluster_find_files");
   DBUG_PRINT("enter", ("db: %s", db));
@@ -10902,7 +10903,7 @@ static int ndbcluster_init(void *p)
     ndbcluster_binlog_init_handlerton();
     h->flags=            HTON_CAN_RECREATE | HTON_TEMPORARY_NOT_SUPPORTED;
     h->discover=         ndbcluster_discover;
-    h->find_files= ndbcluster_find_files;
+    h->find_files=       ndbcluster_find_files;
     h->table_exists_in_engine= ndbcluster_table_exists_in_engine;
   }
 

=== modified file 'sql/ha_ndbcluster.h'
--- a/sql/ha_ndbcluster.h	2011-04-29 09:06:21 +0000
+++ b/sql/ha_ndbcluster.h	2011-05-31 14:38:10 +0000
@@ -885,8 +885,6 @@ private:
 
 int ndbcluster_discover(THD* thd, const char* dbname, const char* name,
                         const void** frmblob, uint* frmlen);
-int ndbcluster_find_files(THD *thd,const char *db,const char *path,
-                          const char *wild, bool dir, List<LEX_STRING> *files);
 int ndbcluster_table_exists_in_engine(THD* thd,
                                       const char *db, const char *name);
 void ndbcluster_print_error(int error, const NdbOperation *error_op);


Attachment: [text/bzr-bundle] bzr/magnus.blaudd@oracle.com-20110531143810-81kyoy1ezotxpqqq.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4434) magnus.blaudd31 May