Skip to content

Commit dde4547

Browse files
committed
Updated to protocol 15
1 parent 7f7a96b commit dde4547

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

pynuodb/datatype.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ def __cmp__(self, other):
117117
"bigint":NUMBER,
118118
"float":NUMBER,
119119
"double":NUMBER,
120+
"decimal":NUMBER,
121+
"double precision":NUMBER,
120122
"date":DATETIME,
121123
"timestamp":DATETIME,
122124
"time":DATETIME,

pynuodb/encodedsession.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ def open_database(self, db_name, parameters, cp):
104104
version = self.getInt()
105105
serverKey = self.getString()
106106
salt = self.getString()
107+
connectionDatabaseUUID = self.getUUID()
108+
connectionID = self.getInt()
107109
return version, serverKey, salt
108110

109111
def check_auth(self):

pynuodb/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,4 +350,4 @@ def lookup_code(error_code):
350350
#
351351
# The current protocol version of THIS driver. The server will negotiate the lowest compatible version.
352352
#
353-
CURRENT_PROTOCOL_VERSION = PROTOCOL_VERSION14
353+
CURRENT_PROTOCOL_VERSION = PROTOCOL_VERSION15

0 commit comments

Comments
 (0)