[Groonga-mysql-commit] mroonga/mroonga [master] Changes variable name to more meaningful one

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 28日 (木) 10:11:15 JST


HAYASHI Kentaro	2012-06-28 10:11:15 +0900 (Thu, 28 Jun 2012)

  New Revision: 882a122fcd8e1dc7c50882c23e96c34240ed0957
  https://github.com/mroonga/mroonga/commit/882a122fcd8e1dc7c50882c23e96c34240ed0957

  Log:
    Changes variable name to more meaningful one

  Modified files:
    lib/mrn_path_mapper.cpp

  Modified: lib/mrn_path_mapper.cpp (+2 -2)
===================================================================
--- lib/mrn_path_mapper.cpp    2012-06-28 10:09:19 +0900 (73e5c6f)
+++ lib/mrn_path_mapper.cpp    2012-06-28 10:11:15 +0900 (6e8d9c2)
@@ -50,8 +50,8 @@ namespace mrn {
 
     if (strncmp(mysql_path_, "./", 2) == 0) {
       if (path_prefix_) {
-        size_t db_len = strlen(db_path_);
-        strncat(db_path_, path_prefix_, MRN_MAX_PATH_SIZE - db_len - 1);
+        size_t db_path_length = strlen(db_path_);
+        strncat(db_path_, path_prefix_, MRN_MAX_PATH_SIZE - db_path_length - 1);
       }
 
       int i = 2, j = strlen(db_path_), len;
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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