[Groonga-commit] groonga/gcs [master] Fix genreated table names

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 3日 (金) 17:33:44 JST


SHIMODA Hiroshi	2012-08-03 17:33:44 +0900 (Fri, 03 Aug 2012)

  New Revision: de8ba1e00224ae2c20deb86846b810be312001a5
  https://github.com/groonga/gcs/commit/de8ba1e00224ae2c20deb86846b810be312001a5

  Log:
    Fix genreated table names

  Modified files:
    lib/database/domain.js
    lib/database/index-field.js

  Modified: lib/database/domain.js (+1 -1)
===================================================================
--- lib/database/domain.js    2012-08-03 17:25:58 +0900 (f0db8fc)
+++ lib/database/domain.js    2012-08-03 17:33:44 +0900 (294115c)
@@ -149,7 +149,7 @@ Domain.prototype = {
   },
 
   get termsTableName() {
-    return this.indexTableBaseName + '_BigramTerms';
+    return this.indexTableBaseName + 'BigramTerms';
   },
 
   get synonymTableName() {

  Modified: lib/database/index-field.js (+2 -2)
===================================================================
--- lib/database/index-field.js    2012-08-03 17:25:58 +0900 (508150e)
+++ lib/database/index-field.js    2012-08-03 17:33:44 +0900 (11b941a)
@@ -61,10 +61,10 @@ IndexField.prototype = {
     return this._columnName;
   },
   get indexColumnName() {
-    this.domain.indexTableBaseName + '_' + this.columnName;
+    this.domain.indexTableBaseName + this.columnName;
   },
   get indexTableName() {
-    this.domain.indexTableBaseName + '_' + this.columnName;
+    this.domain.indexTableBaseName + this.columnName;
   },
   get indexTableKeyType() {
     var type = this.type;
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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