tarantool16 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tarantool16/connection/response.rb +1 -1
- data/lib/tarantool16/errors.rb +76 -4
- data/lib/tarantool16/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1e48342e0d480e5d5083e9c2d606e801867a302
|
4
|
+
data.tar.gz: 14efa0034189d0f8810fecc010353a4de1e60da7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78a6cdd4aad5a4494f0b769fffd92ea51c44f567a76cfd9d1b293399115c7a21854fb9b21d56eeb7548266f4c30e218b2e32e8e8afb6f3784dd78be353a2afe8
|
7
|
+
data.tar.gz: b2176218401af3c9eba21b2699f0b3441a89ef7f27f63dede6fb48767a061893699584e6357688107339e0c29ba71cf78605f1ac58adc822962418c7df309ccd
|
data/lib/tarantool16/errors.rb
CHANGED
@@ -24,7 +24,7 @@ module Tarantool16
|
|
24
24
|
4=> :ER_TUPLE_NOT_FOUND,
|
25
25
|
5=> :ER_UNSUPPORTED,
|
26
26
|
6=> :ER_NONMASTER,
|
27
|
-
7=> :
|
27
|
+
7=> :ER_READONLY,
|
28
28
|
8=> :ER_INJECTION,
|
29
29
|
9=> :ER_CREATE_SPACE,
|
30
30
|
10=> :ER_SPACE_EXISTS,
|
@@ -35,7 +35,7 @@ module Tarantool16
|
|
35
35
|
15=> :ER_LAST_DROP,
|
36
36
|
16=> :ER_TUPLE_FORMAT_LIMIT,
|
37
37
|
17=> :ER_DROP_PRIMARY_KEY,
|
38
|
-
18=> :
|
38
|
+
18=> :ER_KEY_PART_TYPE,
|
39
39
|
19=> :ER_EXACT_MATCH,
|
40
40
|
20=> :ER_INVALID_MSGPACK,
|
41
41
|
21=> :ER_PROC_RET,
|
@@ -55,10 +55,82 @@ module Tarantool16
|
|
55
55
|
35=> :ER_NO_SUCH_INDEX,
|
56
56
|
36=> :ER_NO_SUCH_SPACE,
|
57
57
|
37=> :ER_NO_SUCH_FIELD,
|
58
|
-
38=> :
|
59
|
-
39=> :
|
58
|
+
38=> :ER_SPACE_FIELD_COUNT,
|
59
|
+
39=> :ER_INDEX_FIELD_COUNT,
|
60
60
|
40=> :ER_WAL_IO,
|
61
61
|
41=> :ER_MORE_THAN_ONE_TUPLE,
|
62
|
+
42=> :ER_ACCESS_DENIED,
|
63
|
+
43=> :ER_CREATE_USER,
|
64
|
+
44=> :ER_DROP_USER,
|
65
|
+
45=> :ER_NO_SUCH_USER,
|
66
|
+
46=> :ER_USER_EXISTS,
|
67
|
+
47=> :ER_PASSWORD_MISMATCH,
|
68
|
+
48=> :ER_UNKNOWN_REQUEST_TYPE,
|
69
|
+
49=> :ER_UNKNOWN_SCHEMA_OBJECT,
|
70
|
+
50=> :ER_CREATE_FUNCTION,
|
71
|
+
51=> :ER_NO_SUCH_FUNCTION,
|
72
|
+
52=> :ER_FUNCTION_EXISTS,
|
73
|
+
53=> :ER_FUNCTION_ACCESS_DENIED,
|
74
|
+
54=> :ER_FUNCTION_MAX,
|
75
|
+
55=> :ER_SPACE_ACCESS_DENIED,
|
76
|
+
56=> :ER_USER_MAX,
|
77
|
+
57=> :ER_NO_SUCH_ENGINE,
|
78
|
+
58=> :ER_RELOAD_CFG,
|
79
|
+
59=> :ER_CFG,
|
80
|
+
60=> :ER_SOPHIA,
|
81
|
+
61=> :ER_LOCAL_SERVER_IS_NOT_ACTIVE,
|
82
|
+
62=> :ER_UNKNOWN_SERVER,
|
83
|
+
63=> :ER_CLUSTER_ID_MISMATCH,
|
84
|
+
64=> :ER_INVALID_UUID,
|
85
|
+
65=> :ER_CLUSTER_ID_IS_RO,
|
86
|
+
66=> :ER_RESERVED66,
|
87
|
+
67=> :ER_SERVER_ID_IS_RESERVED,
|
88
|
+
68=> :ER_INVALID_ORDER,
|
89
|
+
69=> :ER_MISSING_REQUEST_FIELD,
|
90
|
+
70=> :ER_IDENTIFIER,
|
91
|
+
71=> :ER_DROP_FUNCTION,
|
92
|
+
72=> :ER_ITERATOR_TYPE,
|
93
|
+
73=> :ER_REPLICA_MAX,
|
94
|
+
74=> :ER_INVALID_XLOG,
|
95
|
+
75=> :ER_INVALID_XLOG_NAME,
|
96
|
+
76=> :ER_INVALID_XLOG_ORDER,
|
97
|
+
77=> :ER_NO_CONNECTION,
|
98
|
+
78=> :ER_TIMEOUT,
|
99
|
+
79=> :ER_ACTIVE_TRANSACTION,
|
100
|
+
80=> :ER_NO_ACTIVE_TRANSACTION,
|
101
|
+
81=> :ER_CROSS_ENGINE_TRANSACTION,
|
102
|
+
82=> :ER_NO_SUCH_ROLE,
|
103
|
+
83=> :ER_ROLE_EXISTS,
|
104
|
+
84=> :ER_CREATE_ROLE,
|
105
|
+
85=> :ER_INDEX_EXISTS,
|
106
|
+
86=> :ER_TUPLE_REF_OVERFLOW,
|
107
|
+
87=> :ER_ROLE_LOOP,
|
108
|
+
88=> :ER_GRANT,
|
109
|
+
89=> :ER_PRIV_GRANTED,
|
110
|
+
90=> :ER_ROLE_GRANTED,
|
111
|
+
91=> :ER_PRIV_NOT_GRANTED,
|
112
|
+
92=> :ER_ROLE_NOT_GRANTED,
|
113
|
+
93=> :ER_MISSING_SNAPSHOT,
|
114
|
+
94=> :ER_CANT_UPDATE_PRIMARY_KEY,
|
115
|
+
95=> :ER_UPDATE_INTEGER_OVERFLOW,
|
116
|
+
96=> :ER_GUEST_USER_PASSWORD,
|
117
|
+
97=> :ER_TRANSACTION_CONFLICT,
|
118
|
+
98=> :ER_UNSUPPORTED_ROLE_PRIV,
|
119
|
+
99=> :ER_LOAD_FUNCTION,
|
120
|
+
100=> :ER_FUNCTION_LANGUAGE,
|
121
|
+
101=> :ER_RTREE_RECT,
|
122
|
+
102=> :ER_PROC_C,
|
123
|
+
103=> :ER_UNKNOWN_RTREE_INDEX_DISTANCE_TYPE,
|
124
|
+
104=> :ER_PROTOCOL,
|
125
|
+
105=> :ER_UPSERT_UNIQUE_SECONDARY_KEY,
|
126
|
+
106=> :ER_WRONG_INDEX_RECORD,
|
127
|
+
107=> :ER_WRONG_INDEX_PARTS,
|
128
|
+
108=> :ER_WRONG_INDEX_OPTIONS,
|
129
|
+
109=> :ER_WRONG_SCHEMA_VERSION,
|
130
|
+
110=> :ER_SLAB_ALLOC_MAX,
|
131
|
+
111=> :ER_WRONG_SPACE_OPTIONS,
|
132
|
+
112=> :ER_UNSUPPORTED_INDEX_FEATURE,
|
133
|
+
113=> :ER_VIEW_IS_RO,
|
62
134
|
}.each do |n, s|
|
63
135
|
klass = Class.new(KnownDBError)
|
64
136
|
klass.return_code = n
|
data/lib/tarantool16/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tarantool16
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sokolov Yura aka funny_falcon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06
|
11
|
+
date: 2016-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.4.
|
104
|
+
rubygems_version: 2.4.8
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: adapter for Tarantool 1.6
|