[Groonga-commit] groonga/gcs [master] Add unique id to reference table names correctly

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 3日 (金) 14:43:38 JST


SHIMODA Hiroshi	2012-08-03 14:43:38 +0900 (Fri, 03 Aug 2012)

  New Revision: 9991937b935e16e4e1c73b6b3aea6a562d408557
  https://github.com/groonga/gcs/commit/9991937b935e16e4e1c73b6b3aea6a562d408557

  Log:
    Add unique id to reference table names correctly

  Modified files:
    lib/database/domain.js

  Modified: lib/database/domain.js (+1 -1)
===================================================================
--- lib/database/domain.js    2012-08-03 14:41:25 +0900 (0ead5c5)
+++ lib/database/domain.js    2012-08-03 14:43:38 +0900 (2b3196a)
@@ -148,7 +148,7 @@ Domain.prototype = {
   get referenceTableBaseName() {
     if (!this._referenceTableBaseName)
       this._referenceTableBaseName = REFERENCE_TABLE_PREFIX + '_' +
-                             this.toTableNamePart(this.name);
+                             this.toTableNamePart(this.name) + '_' + this.id;
     return this._referenceTableBaseName;
   },
 
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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