~mdcallag/+junk/5.1-map

« back to all changes in this revision

Viewing changes to storage/ndb/include/ndbapi/Ndb.hpp

  • Committer: msvensson at pilot
  • Date: 2007-04-24 09:11:45 UTC
  • mfrom: (2469.1.106)
  • Revision ID: sp1r-msvensson@pilot.blaudden-20070424091145-10463
Merge pilot.blaudden:/home/msvensson/mysql/my51-m-mysql_upgrade
into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint

Show diffs side-by-side

added added

removed removed

Lines of Context:
1055
1055
  friend class NdbDictInterface;
1056
1056
  friend class NdbBlob;
1057
1057
  friend class NdbImpl;
 
1058
  friend class Ndb_free_list_t<NdbRecAttr>;  
 
1059
  friend class Ndb_free_list_t<NdbApiSignal>;
 
1060
  friend class Ndb_free_list_t<NdbLabel>;
 
1061
  friend class Ndb_free_list_t<NdbBranch>;
 
1062
  friend class Ndb_free_list_t<NdbSubroutine>;
 
1063
  friend class Ndb_free_list_t<NdbCall>;
 
1064
  friend class Ndb_free_list_t<NdbBlob>;
 
1065
  friend class Ndb_free_list_t<NdbReceiver>;
 
1066
  friend class Ndb_free_list_t<NdbIndexScanOperation>;
 
1067
  friend class Ndb_free_list_t<NdbOperation>;
 
1068
  friend class Ndb_free_list_t<NdbIndexOperation>;
 
1069
  friend class Ndb_free_list_t<NdbTransaction>;
1058
1070
#endif
1059
1071
 
1060
1072
public:
1104
1116
   *
1105
1117
   * @param aCatalogName is the new name of the current catalog
1106
1118
   */
1107
 
  void setCatalogName(const char * aCatalogName);
 
1119
  int setCatalogName(const char * aCatalogName);
1108
1120
 
1109
1121
  /**
1110
1122
   * The current schema name can be fetched by getSchemaName.
1118
1130
   *
1119
1131
   * @param aSchemaName is the new name of the current schema
1120
1132
   */
1121
 
  void setSchemaName(const char * aSchemaName);
 
1133
  int setSchemaName(const char * aSchemaName);
1122
1134
#endif
1123
1135
 
1124
1136
  /**
1133
1145
   *
1134
1146
   * @param aDatabaseName is the new name of the current database
1135
1147
   */
1136
 
  void setDatabaseName(const char * aDatabaseName);
 
1148
  int setDatabaseName(const char * aDatabaseName);
1137
1149
 
1138
1150
  /**
1139
1151
   * The current database schema name can be fetched by getDatabaseSchemaName.
1147
1159
   *
1148
1160
   * @param aDatabaseSchemaName is the new name of the current database schema
1149
1161
   */
1150
 
  void setDatabaseSchemaName(const char * aDatabaseSchemaName);
 
1162
  int setDatabaseSchemaName(const char * aDatabaseSchemaName);
1151
1163
 
1152
1164
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
1153
1165
  /** Set database and schema name to match previously retrieved table