[Groonga-commit] groonga/groonga [master] renamed grn_obj_rename into grn_obj_path_rename

Back to archive index

null+****@clear***** null+****@clear*****
2011年 11月 15日 (火) 10:35:05 JST


Daijiro MORI	2011-11-15 01:35:05 +0000 (Tue, 15 Nov 2011)

  New Revision: 2642c274d28253bb6e16c64c24abafa3f4b19248

  Log:
    renamed grn_obj_rename into grn_obj_path_rename

  Modified files:
    lib/db.c
    lib/db.h

  Modified: lib/db.c (+1 -1)
===================================================================
--- lib/db.c    2011-11-14 11:25:08 +0000 (fb9e27e)
+++ lib/db.c    2011-11-15 01:35:05 +0000 (9549c0c)
@@ -6033,7 +6033,7 @@ exit :
 }
 
 grn_rc
-grn_obj_rename(grn_ctx *ctx, const char *old_path, const char *new_path)
+grn_obj_path_rename(grn_ctx *ctx, const char *old_path, const char *new_path)
 {
   GRN_API_ENTER;
   GRN_API_RETURN(GRN_SUCCESS);

  Modified: lib/db.h (+2 -2)
===================================================================
--- lib/db.h    2011-11-14 11:25:08 +0000 (7fc61b0)
+++ lib/db.h    2011-11-15 01:35:05 +0000 (bd10d2a)
@@ -340,13 +340,13 @@ grn_obj *grn_column_open(grn_ctx *ctx, grn_obj *table,
                          const char *path, grn_obj *type);
 
 /**
- * grn_obj_rename:
+ * grn_obj_path_rename:
  * @old_path: 旧ファイルパス
  * @new_path: 新ファイルパス
  *
  * old_pathに該当するオブジェクトのファイル名をnew_pathに変更する。
  **/
-grn_rc grn_obj_rename(grn_ctx *ctx, const char *old_path, const char *new_path);
+grn_rc grn_obj_path_rename(grn_ctx *ctx, const char *old_path, const char *new_path);
 
 grn_rc grn_db_check_name(grn_ctx *ctx, const char *name, unsigned int name_size);
 #define GRN_DB_CHECK_NAME_ERR(error_context, name, name_size) ERR(GRN_INVALID_ARGUMENT, "%s: name can't start with '%c' and contains only 0-9, A-Z, a-z, #, - or _: <%.*s>", error_context, GRN_DB_PSEUDO_COLUMN_PREFIX, name_size, name)




Groonga-commit メーリングリストの案内
Back to archive index