tarantool-driver
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -59,2 +59,3 @@ 'use strict'; | ||
}); | ||
this.schemaId = null; | ||
this.msgpack = options.msgpack || msgpack; | ||
@@ -247,2 +248,15 @@ this.state = states.INITED; | ||
var reqId = obj[0][1]; | ||
if (this.schemaId) | ||
{ | ||
if (this.schemaId != obj[0][5]) | ||
{ | ||
this.schemaId = obj[0][5]; | ||
//clear cache for naming | ||
this.namespace = {}; | ||
} | ||
} | ||
else | ||
{ | ||
this.schemaId = obj[0][5]; | ||
} | ||
for(var i = 0; i<this.commandsQueue.length; i++) | ||
@@ -249,0 +263,0 @@ if (this.commandsQueue[i][1] == reqId) |
{ | ||
"name": "tarantool-driver", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Tarantool driver for 1.6", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -175,2 +175,6 @@ # node-tarantool-driver | ||
###0.4.1 | ||
Add clear schema cache on change schema id | ||
###0.4.0 | ||
@@ -177,0 +181,0 @@ |
43044
1001
192