Commit 0ce8e30b authored by konovalovsergey's avatar konovalovsergey

error getNextTableName doesn't check table name exist

parent e6755497
...@@ -707,7 +707,7 @@ ...@@ -707,7 +707,7 @@
do { do {
this.tableNameIndex++; this.tableNameIndex++;
sNewName = this.tableNamePattern + this.tableNameIndex + collaborativeIndexUser; sNewName = this.tableNamePattern + this.tableNameIndex + collaborativeIndexUser;
} while (this.isListeningDefName(sNewName)); } while (this.getDefNameByName(sNewName, null) || this.isListeningDefName(sNewName));
return sNewName; return sNewName;
}, },
addTableName: function(ws, table, opt_isOpen) { addTableName: function(ws, table, opt_isOpen) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment