sedna 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. data/{CHANGES → CHANGES.rdoc} +9 -0
  2. data/{README → README.rdoc} +23 -25
  3. data/Rakefile +32 -9
  4. data/ext/{extconf.rb → sedna/extconf.rb} +33 -21
  5. data/ext/{sedna.c → sedna/sedna.c} +48 -40
  6. data/test/sedna_test.rb +9 -9
  7. data/vendor/sedna/AUTHORS +18 -0
  8. data/vendor/sedna/COPYRIGHT +90 -0
  9. data/vendor/sedna/LICENSE +202 -0
  10. data/vendor/sedna/Makefile.include +423 -0
  11. data/vendor/sedna/Makefile.platform +31 -0
  12. data/vendor/sedna/depend.sed +48 -0
  13. data/vendor/sedna/driver/c/Makefile +98 -0
  14. data/vendor/sedna/driver/c/libsedna.c +1998 -0
  15. data/vendor/sedna/driver/c/libsedna.h +199 -0
  16. data/vendor/sedna/driver/c/sednamt.def +21 -0
  17. data/vendor/sedna/driver/c/sp_defs.h +186 -0
  18. data/vendor/sedna/kernel/common/FastXptrHash.cpp +101 -0
  19. data/vendor/sedna/kernel/common/IntHash.h +314 -0
  20. data/vendor/sedna/kernel/common/IntList.h +224 -0
  21. data/vendor/sedna/kernel/common/Makefile +30 -0
  22. data/vendor/sedna/kernel/common/SSMMsg.cpp +459 -0
  23. data/vendor/sedna/kernel/common/SSMMsg.h +142 -0
  24. data/vendor/sedna/kernel/common/XptrHash.h +435 -0
  25. data/vendor/sedna/kernel/common/argtable.c +972 -0
  26. data/vendor/sedna/kernel/common/argtable.h +896 -0
  27. data/vendor/sedna/kernel/common/base.cpp +339 -0
  28. data/vendor/sedna/kernel/common/base.h +226 -0
  29. data/vendor/sedna/kernel/common/bit_set.cpp +157 -0
  30. data/vendor/sedna/kernel/common/bit_set.h +55 -0
  31. data/vendor/sedna/kernel/common/commutil.h +67 -0
  32. data/vendor/sedna/kernel/common/config.h +62 -0
  33. data/vendor/sedna/kernel/common/counted_ptr.h +74 -0
  34. data/vendor/sedna/kernel/common/errdbg/ErrorCodes.java +1056 -0
  35. data/vendor/sedna/kernel/common/errdbg/Makefile +34 -0
  36. data/vendor/sedna/kernel/common/errdbg/assert.c +133 -0
  37. data/vendor/sedna/kernel/common/errdbg/d_printf.c +150 -0
  38. data/vendor/sedna/kernel/common/errdbg/d_printf.h +91 -0
  39. data/vendor/sedna/kernel/common/errdbg/error.codes +1743 -0
  40. data/vendor/sedna/kernel/common/errdbg/error_codes.c +531 -0
  41. data/vendor/sedna/kernel/common/errdbg/error_codes.h +549 -0
  42. data/vendor/sedna/kernel/common/errdbg/error_codes_scm.scm +527 -0
  43. data/vendor/sedna/kernel/common/errdbg/event_log.c +956 -0
  44. data/vendor/sedna/kernel/common/errdbg/event_log.h +226 -0
  45. data/vendor/sedna/kernel/common/errdbg/exceptions.cpp +155 -0
  46. data/vendor/sedna/kernel/common/errdbg/exceptions.h +559 -0
  47. data/vendor/sedna/kernel/common/errdbg/gen_error_codes +0 -0
  48. data/vendor/sedna/kernel/common/errdbg/gen_error_codes.c +345 -0
  49. data/vendor/sedna/kernel/common/gmm.cpp +192 -0
  50. data/vendor/sedna/kernel/common/gmm.h +29 -0
  51. data/vendor/sedna/kernel/common/ipc_ops.cpp +435 -0
  52. data/vendor/sedna/kernel/common/ipc_ops.h +51 -0
  53. data/vendor/sedna/kernel/common/lfsGlobals.h +12 -0
  54. data/vendor/sedna/kernel/common/lm_base.h +90 -0
  55. data/vendor/sedna/kernel/common/mmgr/Makefile +11 -0
  56. data/vendor/sedna/kernel/common/mmgr/aset.c +1185 -0
  57. data/vendor/sedna/kernel/common/mmgr/mcxt.c +741 -0
  58. data/vendor/sedna/kernel/common/mmgr/memnodes.h +70 -0
  59. data/vendor/sedna/kernel/common/mmgr/memutils.h +145 -0
  60. data/vendor/sedna/kernel/common/mmgr/se_alloc.h +321 -0
  61. data/vendor/sedna/kernel/common/mmgr/track.c +214 -0
  62. data/vendor/sedna/kernel/common/pping.cpp +672 -0
  63. data/vendor/sedna/kernel/common/pping.h +119 -0
  64. data/vendor/sedna/kernel/common/rcv_test.cpp +273 -0
  65. data/vendor/sedna/kernel/common/rcv_test.h +19 -0
  66. data/vendor/sedna/kernel/common/sedna.c +128 -0
  67. data/vendor/sedna/kernel/common/sedna.h +49 -0
  68. data/vendor/sedna/kernel/common/sedna_ef.h +52 -0
  69. data/vendor/sedna/kernel/common/sm_vmm_data.h +144 -0
  70. data/vendor/sedna/kernel/common/sp.c +93 -0
  71. data/vendor/sedna/kernel/common/sp.h +36 -0
  72. data/vendor/sedna/kernel/common/st/Makefile +20 -0
  73. data/vendor/sedna/kernel/common/st/os_linux/stacktrace.c +213 -0
  74. data/vendor/sedna/kernel/common/st/os_nt/stacktrace.c +338 -0
  75. data/vendor/sedna/kernel/common/st/os_other/stacktrace.c +39 -0
  76. data/vendor/sedna/kernel/common/st/stacktrace.h +72 -0
  77. data/vendor/sedna/kernel/common/st/stacktrfmt.c +64 -0
  78. data/vendor/sedna/kernel/common/tr_debug.cpp +112 -0
  79. data/vendor/sedna/kernel/common/tr_debug.h +22 -0
  80. data/vendor/sedna/kernel/common/u/Makefile +14 -0
  81. data/vendor/sedna/kernel/common/u/u.c +268 -0
  82. data/vendor/sedna/kernel/common/u/u.h +715 -0
  83. data/vendor/sedna/kernel/common/u/uatomic.h +12 -0
  84. data/vendor/sedna/kernel/common/u/udl.h +31 -0
  85. data/vendor/sedna/kernel/common/u/uevent.c +406 -0
  86. data/vendor/sedna/kernel/common/u/uevent.h +71 -0
  87. data/vendor/sedna/kernel/common/u/ugnames.cpp +330 -0
  88. data/vendor/sedna/kernel/common/u/ugnames.h +134 -0
  89. data/vendor/sedna/kernel/common/u/uhash_map.h +77 -0
  90. data/vendor/sedna/kernel/common/u/uhdd.c +1018 -0
  91. data/vendor/sedna/kernel/common/u/uhdd.h +206 -0
  92. data/vendor/sedna/kernel/common/u/ummap.cpp +268 -0
  93. data/vendor/sedna/kernel/common/u/ummap.h +60 -0
  94. data/vendor/sedna/kernel/common/u/umutex.c +145 -0
  95. data/vendor/sedna/kernel/common/u/umutex.h +65 -0
  96. data/vendor/sedna/kernel/common/u/upipe.cpp +244 -0
  97. data/vendor/sedna/kernel/common/u/upipe.h +74 -0
  98. data/vendor/sedna/kernel/common/u/uprocess.c +767 -0
  99. data/vendor/sedna/kernel/common/u/uprocess.h +91 -0
  100. data/vendor/sedna/kernel/common/u/usafesync.h +41 -0
  101. data/vendor/sedna/kernel/common/u/usecurity.c +150 -0
  102. data/vendor/sedna/kernel/common/u/usecurity.h +55 -0
  103. data/vendor/sedna/kernel/common/u/usem.c +891 -0
  104. data/vendor/sedna/kernel/common/u/usem.h +83 -0
  105. data/vendor/sedna/kernel/common/u/ushm.c +222 -0
  106. data/vendor/sedna/kernel/common/u/ushm.h +46 -0
  107. data/vendor/sedna/kernel/common/u/usocket.c +541 -0
  108. data/vendor/sedna/kernel/common/u/usocket.h +118 -0
  109. data/vendor/sedna/kernel/common/u/usystem.c +57 -0
  110. data/vendor/sedna/kernel/common/u/usystem.h +46 -0
  111. data/vendor/sedna/kernel/common/u/uthread.c +259 -0
  112. data/vendor/sedna/kernel/common/u/uthread.h +95 -0
  113. data/vendor/sedna/kernel/common/u/utime.c +65 -0
  114. data/vendor/sedna/kernel/common/u/utime.h +40 -0
  115. data/vendor/sedna/kernel/common/u/uutils.c +142 -0
  116. data/vendor/sedna/kernel/common/u/uutils.h +65 -0
  117. data/vendor/sedna/kernel/common/ugc.cpp +156 -0
  118. data/vendor/sedna/kernel/common/ugc.h +15 -0
  119. data/vendor/sedna/kernel/common/utils.cpp +156 -0
  120. data/vendor/sedna/kernel/common/utils.h +133 -0
  121. data/vendor/sedna/kernel/common/version.c +16 -0
  122. data/vendor/sedna/kernel/common/version.h +21 -0
  123. data/vendor/sedna/kernel/common/wustructures.h +18 -0
  124. data/vendor/sedna/kernel/common/wutypes.h +34 -0
  125. data/vendor/sedna/kernel/common/xptr.cpp +17 -0
  126. data/vendor/sedna/kernel/common/xptr.h +211 -0
  127. data/vendor/sedna/ver +1 -0
  128. metadata +142 -14
@@ -0,0 +1,157 @@
1
+ /*
2
+ * File: bit_set.cpp
3
+ * Copyright (C) 2006 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
4
+ */
5
+ #include "common/sedna.h"
6
+ #include "common/bit_set.h"
7
+
8
+ #define OFFSET_PTR(P,OFS) (void *)((char*)(P)+(OFS))
9
+ #define ROUND_SIZE_UP(SZ,K) (((SZ)+(K)-1)&~((K)-1))
10
+ #define PTR_DISTANCE(B,A) ((char*)(A)-(char*)(B))
11
+
12
+ bit_set::bit_set (int _size_): size(_size_),
13
+ external_memory(false)
14
+ {
15
+ if (size <= 0)
16
+ throw USER_EXCEPTION2(SE1003, "Size must be positive in bit_set::bit_set.");
17
+
18
+ capacity = ROUND_SIZE_UP(_size_,8)/8;
19
+ bits = se_new unsigned char[capacity];
20
+ initialize();
21
+ }
22
+
23
+ bit_set::bit_set (void* _bits_, int _size_): size(_size_),
24
+ bits((unsigned char*)_bits_),
25
+ external_memory(true)
26
+ {
27
+ capacity = ROUND_SIZE_UP(_size_,8)/8;
28
+ }
29
+
30
+ int bit_set::getNextSetBitIdx(unsigned int startPos) const
31
+ {
32
+ /*
33
+ // The following code is not valid for some reasons:
34
+ // 1. on some platforms alignmet is required - unsigned *istart = (unsigned*) start will throw exception;
35
+ // 2. it seems that in first while we can break the boundary of 'bits';
36
+ // 3. BIG_ENDIAN_ORDER is not finished which is used on PPC platform ...
37
+
38
+ static const int bitsPerInt = sizeof(int)*8;
39
+ #ifdef BIG_ENDIAN_ORDER
40
+ int base = (startPos & 0x07); /// number of bit inside byte
41
+ #else
42
+ int base = startPos % (bitsPerInt); /// number of bit inside unsigned int
43
+ #endif
44
+ void *start = OFFSET_PTR(bits, startPos/bitsPerInt*4);
45
+ void *end = OFFSET_PTR(bits, capacity);
46
+ unsigned *istart = (unsigned *)start;
47
+ unsigned *iend = (unsigned *)end;
48
+ unsigned sample = 0;
49
+ int res = -1, i = 0;
50
+
51
+ if (istart<iend)
52
+ {
53
+ #ifdef BIG_ENDIAN_ORDER
54
+ sample = istart[0] & (((unsigned)-1)<<(bitsPerInt-(8-base))) | 0xFFFFFF;
55
+ #else
56
+ sample = istart[0] & (((unsigned)-1)<<base);
57
+ #endif
58
+ while (sample==0 && istart<iend)
59
+ {
60
+ sample = (++istart)[0];
61
+ }
62
+
63
+ #ifdef BIG_ENDIAN_ORDER
64
+ while (i++<bitsPerInt && 0==(sample & (1 << (base + (bitsPerInt-((i>>3)+1)*8)))));
65
+ res = (int)PTR_DISTANCE(bits,istart)*bitsPerInt/4 + i;
66
+ #else
67
+ while (i<bitsPerInt && 0==(sample & ~((~(unsigned)1)<<i))) ++i;
68
+ res = (int)PTR_DISTANCE(bits,istart)*bitsPerInt/4 + i;
69
+ #endif
70
+
71
+ if (res>=size) res=-1;
72
+ }
73
+ return res;*/
74
+
75
+ int i = startPos;
76
+ while(i < size)
77
+ {
78
+ int index = (i >> 3);
79
+ unsigned char mask = (1 << (i & 0x07));
80
+ if (0 != (bits[index] & mask)) return i;
81
+ i++;
82
+ }
83
+ return -1;
84
+ }
85
+
86
+ bit_set::~bit_set ()
87
+ {
88
+ if(!external_memory)
89
+ {
90
+ delete[] bits;
91
+ bits = NULL;
92
+ }
93
+ }
94
+
95
+ void bit_set::initialize ()
96
+ {
97
+ for (int i = 0; i < capacity; i++) bits[i] = 0;
98
+ }
99
+
100
+ void bit_set::setAt (int i)
101
+ {
102
+ if (i < 0 || i >= size)
103
+ throw USER_EXCEPTION2(SE1003, "Incorrect index in bit_set::setAt.");
104
+ int index = (i >> 3);
105
+ unsigned char mask = (1 << (i & 0x07));
106
+ bits[index] |= mask;
107
+ }
108
+
109
+ void bit_set::clearAt (int i)
110
+ {
111
+ if (i < 0 || i >= size)
112
+ throw USER_EXCEPTION2(SE1003, "Incorrect index in bit_set::clearAt.");
113
+ int index = (i >> 3);
114
+ unsigned char mask = (1 << (i & 0x07));
115
+ bits[index] &= ~mask;
116
+ }
117
+
118
+ bool bit_set::testAt (int i) const
119
+ {
120
+ if (i < 0 || i >= size)
121
+ throw USER_EXCEPTION2(SE1003, "Incorrect index in bit_set::testAt.");
122
+ int index = (i >> 3);
123
+ unsigned char mask = (1 << (i & 0x07));
124
+ return ((bits[index] & mask) != 0);
125
+ }
126
+
127
+ void bit_set::clear ()
128
+ {
129
+ initialize();
130
+ }
131
+
132
+ int bit_set::get_size () const
133
+ {
134
+ return size;
135
+ }
136
+
137
+ int bit_set::get_size_in_bytes () const
138
+ {
139
+ return capacity;
140
+ }
141
+
142
+ void* bit_set::get_ptr_to_bytes () const
143
+ {
144
+ return bits;
145
+ }
146
+
147
+ void bit_set::set_ptr_to_bytes (void* _bits_, int _size_)
148
+ {
149
+ if(!external_memory) delete[] bits;
150
+ bits = (unsigned char*)_bits_;
151
+ size = _size_;
152
+ external_memory = true;
153
+ capacity = (size >> 0x03);
154
+ if ((size & 0x07) != 0) capacity++;
155
+ }
156
+
157
+
@@ -0,0 +1,55 @@
1
+ /*
2
+ * File: bit_set.h
3
+ * Copyright (C) 2006 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
4
+ */
5
+
6
+ #ifndef _BIT_SET_H
7
+ #define _BIT_SET_H
8
+
9
+ class bit_set {
10
+
11
+ private:
12
+
13
+ int size; //size in bits
14
+ int capacity; //size in bytes
15
+ unsigned char* bits; //pointer to internal memory buffer
16
+ bool external_memory; //'true' if external memory buffer is used
17
+
18
+ void initialize();
19
+
20
+ bit_set(const bit_set&);
21
+ void operator = (const bit_set&);
22
+
23
+ public:
24
+
25
+ bit_set (int _size_); //_size_ is needed size in bits
26
+
27
+ ~bit_set();
28
+
29
+ void setAt (int i);
30
+ void clearAt (int i);
31
+ bool testAt (int i) const;
32
+ int getNextSetBitIdx(unsigned int startPos = 0) const;
33
+
34
+ void clear(); //set all bits to zero
35
+ int get_size() const; //return size in bits
36
+
37
+ /////////////////////////////////////////////////////////////
38
+ /// Accessors for serialization/deserialization processes.///
39
+ /// Some of them are DANGEROUS! ///
40
+ /////////////////////////////////////////////////////////////
41
+
42
+ int get_size_in_bytes() const;
43
+ void* get_ptr_to_bytes () const;
44
+
45
+ /////////////////////////////////////////////////////////////
46
+ /// You can create bit_set over external memory. Note, however,
47
+ /// that size must conform to the capacity of the given memory!
48
+ /// Note, also, that external memory is NOT released!
49
+ void set_ptr_to_bytes (void* _bits_, int _size_);
50
+ bit_set (void* _bits_, int _size_);
51
+ /////////////////////////////////////////////////////////////
52
+
53
+ };
54
+
55
+ #endif
@@ -0,0 +1,67 @@
1
+ #if (_MSC_VER > 1000)
2
+ #pragma once
3
+ #endif
4
+
5
+ #ifndef COMMUTIL_H_INCLUDED
6
+ #define COMMUTIL_H_INCLUDED
7
+
8
+ /* The following macroses are defined:
9
+
10
+ MIN(A, B) - minimum
11
+ MAX(A, B) - maximum
12
+ IS_POWER_OF_2(NUMBER) - whether a number is power of 2 and > 0
13
+ PTR_DISTANCE(PTRBEGIN, PTREND) - the length of [PTRBEGIN, PTREND] range, in bytes
14
+ ALIGN_PTR(PTR, ALIGNMENT) - syn. for RALIGN_PTR(...)
15
+ RALIGN_PTR(PTR, ALIGNMENT) - make pointer aligned by moving it towards higher addresses
16
+ LALIGN_PTR(PTR, ALIGNMENT) - make pointer aligned by moving it towards lower addresses
17
+ OFFSET_PTR(PTR, DISTANCE) - offset pointer by given distance in bytes
18
+ ROUND_SIZE_UP(SIZE, K) - round size up
19
+ ROUND_SIZE_DOWN(SIZE, K) - round size down
20
+
21
+ Note: ALIGN_* and ROUND_* macros are defined with % (integer remainder) hence
22
+ the alignment is not required to be power of 2. Any sane compiler will replace
23
+ % with bitwize operators when alignment is power of 2 (the most common scenario).
24
+ */
25
+
26
+ #include <stddef.h>
27
+ #include <stdint.h>
28
+
29
+ #ifndef MIN
30
+ #define MIN(A, B) \
31
+ ((A)<(B)?(A):(B))
32
+ #endif
33
+
34
+ #ifndef MAX
35
+ #define MAX(A, B) \
36
+ ((A)>(B)?(A):(B))
37
+ #endif
38
+
39
+ #define SET_FLAG(f, b) (f) = ((f) & ~(0x1UL << (b))) | (0x1UL << (b))
40
+ #define CLEAR_FLAG(f, b) (f) = ((f) & ~(0x1UL << (b)))
41
+ #define GET_FLAG(f, b) (((f) >> (b)) & 1)
42
+
43
+ #define IS_POWER_OF_2(NUMBER) \
44
+ ((NUMBER)&((NUMBER)-1)==0 && (NUMBER)>0)
45
+
46
+ #define PTR_DISTANCE(PTRBEGIN, PTREND) \
47
+ (ptrdiff_t)((uintptr_t)PTREND-(uintptr_t)PTRBEGIN)
48
+
49
+ #define ALIGN_PTR(PTR, ALIGNMENT) \
50
+ RALIGN_PTR(PTR, ALIGNMENT)
51
+
52
+ #define RALIGN_PTR(PTR, ALIGNMENT) \
53
+ (void *)((uintptr_t)(PTR)+(ALIGNMENT)-1-((uintptr_t)(PTR)+(ALIGNMENT)-1)%(ALIGNMENT))
54
+
55
+ #define LALIGN_PTR(PTR, ALIGNMENT) \
56
+ (void *)((uintptr_t)(PTR)-(uintptr_t)(PTR)%(ALIGNMENT))
57
+
58
+ #define OFFSET_PTR(PTR, OFFSET) \
59
+ (void *)((uintptr_t)(PTR)+(OFFSET))
60
+
61
+ #define ROUND_SIZE_UP(SIZE, K) \
62
+ ((size_t)(SIZE)+(K)-1-((size_t)(SIZE)+(K)-1)%(K))
63
+
64
+ #define ROUND_SIZE_DOWN(SIZE, K) \
65
+ ((size_t)(SIZE)-(size_t)(SIZE)%(K))
66
+
67
+ #endif
@@ -0,0 +1,62 @@
1
+ /*
2
+ * File: config.h
3
+ * Copyright (C) 2008 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
4
+ */
5
+
6
+ #ifndef _CONFIG_H_
7
+ #define _CONFIG_H_
8
+
9
+ #include "common/u/ushm.h"
10
+ #include "common/base.h"
11
+ #include "common/config.h"
12
+ #include "common/u/uprocess.h"
13
+
14
+ struct gov_sess_struct
15
+ {
16
+ int idfree; //0->not used 1->session in progress 2->session finished
17
+ int stop; //1->stop command; 0->not stop
18
+ };
19
+
20
+ struct gov_db_struct
21
+ {
22
+ char db_name[SE_MAX_DB_NAME_LENGTH + 1];
23
+ int is_stop; //0->indicates that sm is working, 1->indicates that sm want to stop; -1 indicates that sm is down
24
+ UPID sm_pid;
25
+
26
+ int bufs_num;
27
+ int max_trs_num;
28
+ double upd_crt;
29
+ int max_log_files;
30
+ int tmp_file_initial_size; /* size in PAGES */
31
+ };
32
+
33
+ struct gov_header_struct
34
+ {
35
+ volatile int is_server_stop; /// possible values are defined by 'enum stoptype'
36
+ /// 1->indicates that sedna wants to stop
37
+ UPID gov_pid;
38
+ char SEDNA_DATA[SEDNA_DATA_VAR_SIZE];
39
+ int os_primitives_id_min_bound;
40
+
41
+ int lstnr_port_number; /// Governor listening port
42
+ int ping_port_number; /// Process ping port
43
+ int el_level; /// Event log severity level
44
+ int ka_timeout; /// Session keep alive timeout
45
+
46
+ /* Maximum depth of the physical operations stack in executor */
47
+ int pp_stack_depth;
48
+ };
49
+
50
+ struct gov_config_struct
51
+ {
52
+ gov_header_struct gov_vars;
53
+ gov_db_struct db_vars[MAX_DBS_NUMBER];
54
+ gov_sess_struct sess_vars[MAX_SESSIONS_NUMBER];
55
+ };
56
+
57
+
58
+ #define GOV_HEADER_STRUCT_PTR(ptr) (& (((gov_config_struct*)ptr)->gov_vars) )
59
+ #define GOV_CONFIG_STRUCT_PTR(ptr) ( (gov_config_struct*)ptr )
60
+
61
+
62
+ #endif /* _CONFIG_H_ */
@@ -0,0 +1,74 @@
1
+ /*
2
+ * File: counted_ptr.h
3
+ * Copyright (C) 2010 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
4
+ */
5
+
6
+ #ifndef COUNTED_PTR_H
7
+ #define COUNTED_PTR_H
8
+
9
+ template <class T> struct de_delete {
10
+ inline static void deallocate(T * p) { delete p; }
11
+ };
12
+
13
+ template <class T> struct de_delete_array {
14
+ inline static void deallocate(T * p) { delete[] p; }
15
+ };
16
+
17
+ template <class T> struct de_free {
18
+ inline static void deallocate(T * p) { free(p); }
19
+ };
20
+
21
+ template <class T, class Deallocator = de_delete<T> >
22
+ class counted_ptr {
23
+ private:
24
+ T* ptr; // pointer to the value
25
+ long* count; // shared number of owners
26
+
27
+ public:
28
+ // initialize pointer with existing pointer
29
+ // - requires that the pointer p is a return value of new
30
+ counted_ptr (T* p = NULL)
31
+ : ptr(p), count(new long(1)) {
32
+ }
33
+
34
+ // copy pointer (one more owner)
35
+ counted_ptr (const counted_ptr<T, Deallocator>& p) throw()
36
+ : ptr(p.ptr), count(p.count) {
37
+ ++*count;
38
+ }
39
+
40
+ // destructor (delete value if this was the last owner)
41
+ ~counted_ptr () throw() {
42
+ dispose();
43
+ }
44
+
45
+ // assignment (unshare old and share new value)
46
+ counted_ptr<T, Deallocator>& operator= (const counted_ptr<T, Deallocator>& p) throw() {
47
+ if (this != &p) {
48
+ dispose();
49
+ ptr = p.ptr;
50
+ count = p.count;
51
+ ++*count;
52
+ }
53
+ return *this;
54
+ }
55
+
56
+ // access the value to which the pointer refers
57
+ T& operator*() const throw() { return *ptr; }
58
+ T* operator->() const throw() { return ptr; }
59
+ T& operator[](int i) const throw() { return ptr[i]; }
60
+ T* get() const throw() { return ptr;}
61
+ bool unique() const throw() {return *count == 1; }
62
+
63
+ private:
64
+ void dispose() {
65
+ if (count != NULL && --*count == 0) {
66
+ delete count;
67
+ Deallocator::deallocate(ptr);
68
+ }
69
+ }
70
+ };
71
+
72
+
73
+ #endif // COUNTED_PTR_H
74
+
@@ -0,0 +1,1056 @@
1
+
2
+ // This file was generated. Do not edit it!!!
3
+
4
+ package ru.ispras.sedna.driver;
5
+ import java.io.*;
6
+ import java.lang.*;
7
+
8
+ class ErrorCodes {
9
+ final static int SE1000 = 0; // Environment error. This error is caused by environment (operating system).
10
+ final static int XPST0001 = 1; // It is a static error if analysis of an expression relies on some component of the static context that has not been assigned a value.
11
+ final static int XPDY0002 = 2; // It is a dynamic error if evaluation of an expression relies on some part of the dynamic context that has not been assigned a value.
12
+ final static int XPST0003 = 3; // It is a static error if an expression is not a valid instance of the grammar defined in A.1 EBNF.
13
+ final static int XPTY0004 = 4; // It is a type error if, during the static analysis phase, an expression is found to have a static type that is not appropriate for the context in which the expression occurs, or during the dynamic evaluation phase, the dynamic type of a value does not match a required type as specified by the matching rules in 2.5.4 SequenceType Matching.
14
+ final static int XPST0005 = 5; // During the analysis phase, it is a static error if the static type assigned to an expression other than the expression () or data(()) is empty-sequence().
15
+ final static int XPTY0006 = 6; // (Not currently used.)
16
+ final static int XPTY0007 = 7; // (Not currently used.)
17
+ final static int XPST0008 = 8; // It is a static error if an expression refers to an element name, attribute name, schema type name, namespace prefix, or variable name that is not defined in the static context, except within an ElementTest or an AttributeTest.
18
+ final static int XQST0009 = 9; // An implementation that does not support the Schema Import Feature must raise a static error if a Prolog contains a schema import.
19
+ final static int XPST0010 = 10; // An implementation must raise a static error if it encounters a reference to an axis that it does not support.
20
+ final static int XQST0012 = 11; // It is a static error if the set of definitions contained in all schemas imported by a Prolog do not satisfy the conditions for schema validity specified in Sections 3 and 5 of [XML Schema] Part 1--i.e., each definition must be valid, complete, and unique.
21
+ final static int XQST0013 = 12; // It is a static error if an implementation recognizes a pragma but determines that its content is invalid.
22
+ final static int XQST0014 = 13; // (Not currently used.)
23
+ final static int XQST0015 = 14; // (Not currently used.)
24
+ final static int XQST0016 = 15; // An implementation that does not support the Module Feature raises a static error if it encounters a module declaration or a module import.
25
+ final static int XPST0017 = 16; // It is a static error if the expanded QName and number of arguments in a function call do not match the name and arity of a function signature in the static context.
26
+ final static int XPTY0018 = 17; // It is a type error if the result of the last step in a path expression contains both nodes and atomic values.
27
+ final static int XPTY0019 = 18; // It is a type error if the result of a step (other than the last step) in a path expression contains an atomic value.
28
+ final static int XPTY0020 = 19; // It is a type error if, in an axis step, the context item is not a node.
29
+ final static int XPDY0021 = 20; // (Not currently used.)
30
+ final static int XQST0022 = 21; // It is a static error if the value of a namespace declaration attribute is not a URILiteral.
31
+ final static int XQTY0023 = 22; // (Not currently used.)
32
+ final static int XQTY0024 = 23; // It is a type error if the content sequence in an element constructor contains an attribute node following a node that is not an attribute node.
33
+ final static int XQDY0025 = 24; // It is a dynamic error if any attribute of a constructed element does not have a name that is distinct from the names of all other attributes of the constructed element.
34
+ final static int XQDY0026 = 25; // It is a dynamic error if the result of the content expression of a computed processing instruction constructor contains the string "?>".
35
+ final static int XQDY0027 = 26; // In a validate expression, it is a dynamic error if the root element information item in the PSVI resulting from validation does not have the expected validity property: valid if validation mode is strict, or either valid or notKnown if validation mode is lax.
36
+ final static int XQTY0028 = 27; // (Not currently used.)
37
+ final static int XQDY0029 = 28; // (Not currently used.)
38
+ final static int XQTY0030 = 29; // It is a type error if the argument of a validate expression does not evaluate to exactly one document or element node.
39
+ final static int XQST0031 = 30; // It is a static error if the version number specified in a version declaration is not supported by the implementation.
40
+ final static int XQST0032 = 31; // A static error is raised if a Prolog contains more than one base URI declaration.
41
+ final static int XQST0033 = 32; // It is a static error if a Prolog contains multiple declarations for the same namespace prefix.
42
+ final static int XQST0034 = 33; // It is a static error if multiple functions declared or imported by a module have the number of arguments and their expanded QNames are equal (as defined by the eq operator).
43
+ final static int XQST0035 = 34; // It is a static error to import two schema components that both define the same name in the same symbol space and in the same scope.
44
+ final static int XQST0036 = 35; // It is a static error to import a module if the importing module's in-scope schema types do not include definitions for the schema type names that appear in the declarations of variables and functions (whether in an argument type or return type) that are present in the imported module and are referenced in the importing module.
45
+ final static int XQST0037 = 36; // (Not currently used.)
46
+ final static int XQST0038 = 37; // It is a static error if a Prolog contains more than one default collation declaration, or the value specified by a default collation declaration is not present in statically known collations.
47
+ final static int XQST0039 = 38; // It is a static error for a function declaration to have more than one parameter with the same name.
48
+ final static int XQST0040 = 39; // It is a static error if the attributes specified by a direct element constructor do not have distinct expanded QNames.
49
+ final static int XQDY0041 = 40; // It is a dynamic error if the value of the name expression in a computed processing instruction constructor cannot be cast to the type xs:NCName.
50
+ final static int XQST0042 = 41; // (Not currently used.)
51
+ final static int XQST0043 = 42; // (Not currently used.)
52
+ final static int XQDY0044 = 43; // It is a dynamic error the node-name of a node constructed by a computed attribute constructor has any of the following properties: its namespace prefix is xmlns, it has no namespace prefix and its local name is xmlns, its namespace URI is http://www.w3.org/2000/xmlns/, its namespace prefix is xml and its namespace URI is not http://www.w3.org/XML/1998/namespace, its namespace prefix is other than xml and its namespace URI is http://www.w3.org/XML/1998/namespace.
53
+ final static int XQST0045 = 44; // It is a static error if the function name in a function declaration is in one of the following namespaces: http://www.w3.org/XML/1998/namespace, http://www.w3.org/2001/XMLSchema, http://www.w3.org/2001/XMLSchema-instance, http://www.w3.org/2005/xpath-functions, http://www.w3.org/2005/xpath-datatypes.
54
+ final static int XQST0046 = 45; // An implementation MAY raise a static error if the value of a URILiteral is of nonzero length and is not in the lexical space of xs:anyURI, or if it is a string that represents a "relative reference" as defined in [RFC3986].
55
+ final static int XQST0047 = 46; // It is a static error if multiple module imports in the same Prolog specify the same target namespace.
56
+ final static int XQST0048 = 47; // It is a static error if a function or variable declared in a library module is not in the target namespace of the library module.
57
+ final static int XQST0049 = 48; // It is a static error if two or more variables declared or imported by a module have equal expanded QNames (as defined by the eq operator.)
58
+ final static int XPDY0050 = 49; // It is a dynamic error if the dynamic type of the operand of a treat expression does not match the sequence type specified by the treat expression. This error might also be raised by a path expression beginning with "/" or "//" if the context node is not in a tree that is rooted at a document node. This is because a leading "/" or "//" in a path expression is an abbreviation for an initial step that includes the clause treat as document-node().
59
+ final static int XPST0051 = 50; // It is a static error if a QName that is used as an AtomicType in a SequenceType is not defined in the in-scope schema types as an atomic type.
60
+ final static int XQDY0052 = 51; // (Not currently used.)
61
+ final static int XQST0053 = 52; // (Not currently used.)
62
+ final static int XQST0054 = 53; // It is a static error if the initializing expression in a variable declaration cannot be executed because of a circularity (for example, the expression depends on a function that in turn depends on the value of the initialized variable).
63
+ final static int XQST0055 = 54; // It is a static error if a Prolog contains more than one copy-namespaces declaration.
64
+ final static int XQST0056 = 55; // (Not currently used.)
65
+ final static int XQST0057 = 56; // It is a static error if a schema import binds a namespace prefix but does not specify a target namespace other than a zero-length string.
66
+ final static int XQST0058 = 57; // It is a static error if multiple schema imports specify the same target namespace.
67
+ final static int XQST0059 = 58; // It is a static error if an implementation is unable to process a schema or module import by finding a schema or module with the specified target namespace.
68
+ final static int XQST0060 = 59; // It is a static error if the name of a function in a function declaration is not in a namespace (expanded QName has a null namespace URI).
69
+ final static int XQDY0061 = 60; // It is a dynamic error if the operand of a validate expression is a document node whose children do not consist of exactly one element node and zero or more comment and processing instruction nodes, in any order.
70
+ final static int XQDY0062 = 61; // (Not currently used.)
71
+ final static int XQST0063 = 62; // (Not currently used.)
72
+ final static int XQDY0064 = 63; // It is a dynamic error if the value of the name expression in a computed processing instruction constructor is equal to "XML" (in any combination of upper and lower case).
73
+ final static int XQST0065 = 64; // A static error is raised if a Prolog contains more than one ordering mode declaration.
74
+ final static int XQST0066 = 65; // A static error is raised if a Prolog contains more than one default element/type namespace declaration, or more than one default function namespace declaration.
75
+ final static int XQST0067 = 66; // A static error is raised if a Prolog contains more than one construction declaration.
76
+ final static int XQST0068 = 67; // A static error is raised if a Prolog contains more than one boundary-space declaration.
77
+ final static int XQST0069 = 68; // A static error is raised if a Prolog contains more than one empty order declaration.
78
+ final static int XQST0070 = 69; // A static error is raised if one of the predefined prefixes xml or xmlns appears in a namespace declaration, or if any of the following conditions is statically detected in any expression or declaration: the prefix xml is bound to some namespace URI other than http://www.w3.org/XML/1998/namespace, a prefix other than xml is bound to the namespace URI http://www.w3.org/XML/1998/namespace, the prefix xmlns is bound to any namespace URI, a prefix other than xmlns is bound to the namespace URI http://www.w3.org/2000/xmlns/.
79
+ final static int XQST0071 = 70; // A static error is raised if the namespace declaration attributes of a direct element constructor do not have distinct names.
80
+ final static int XQDY0072 = 71; // It is a dynamic error if the result of the content expression of a computed comment constructor contains two adjacent hyphens or ends with a hyphen.
81
+ final static int XQST0073 = 72; // It is a static error if the graph of module imports contains a cycle (that is, if there exists a sequence of modules M1 ... Mn such that each Mi imports Mi+1 and Mn imports M1), unless all the modules in the cycle share a common namespace.
82
+ final static int XQDY0074 = 73; // It is a dynamic error if the value of the name expression in a computed element or attribute constructor cannot be converted to an expanded QName (for example, because it contains a namespace prefix not found in statically known namespaces.)
83
+ final static int XQST0075 = 74; // An implementation that does not support the Validation Feature must raise a static error if it encounters a validate expression.
84
+ final static int XQST0076 = 75; // It is a static error if a collation subclause in an order by clause of a FLWOR expression does not identify a collation that is present in statically known collations.
85
+ final static int XQST0077 = 76; // (Not currently used.)
86
+ final static int XQST0078 = 77; // (Not currently used.)
87
+ final static int XQST0079 = 78; // It is a static error if an extension expression contains neither a pragma that is recognized by the implementation nor an expression enclosed in curly braces.
88
+ final static int XPST0080 = 79; // The target type of a cast or castable expression must be an atomic type that is in the in-scope schema types and is not xs:NOTATION or xs:anyAtomicType, optionally followed by the occurrence indicator "?"; otherwise a static error is raised.
89
+ final static int XPST0081 = 80; // It is a static error if a QName used in a query contains a namespace prefix that cannot be expanded into a namespace URI by using the statically known namespaces.
90
+ final static int XQST0082 = 81; // (Not currently used.)
91
+ final static int XPST0083 = 82; // (Not currently used.)
92
+ final static int XQDY0084 = 83; // It is a dynamic error if the element validated by a validate statement does not have a top-level element declaration in the in-scope element declarations, if validation mode is strict.
93
+ final static int XQST0085 = 84; // It is a static error if the namespace URI in a namespace declaration attribute is a zero-length string, and the implementation does not support [XML Names 1.1].
94
+ final static int XQTY0086 = 85; // It is a type error if the typed value of a copied element or attribute node is namespace-sensitive when construction mode is preserve and copy-namespaces mode is no-preserve.
95
+ final static int XQST0087 = 86; // It is a static error if the encoding specified in a Version Declaration does not conform to the definition of EncName specified in [XML 1.0].
96
+ final static int XQST0088 = 87; // It is a static error if the literal that specifies the target namespace in a module import or a module declaration is of zero length.
97
+ final static int XQST0089 = 88; // It is a static error if a variable bound in a for clause of a FLWOR expression, and its associated positional variable, do not have distinct names (expanded QNames).
98
+ final static int XQST0090 = 89; // It is a static error if a character reference does not identify a valid character in the version of XML that is in use.
99
+ final static int XQST0093 = 90; // It is a static error to import a module M1 if there exists a sequence of modules M1 ... Mi ... M1 such that each module directly depends on the next module in the sequence.
100
+ final static int FOER0000 = 91; // Unidentified error.
101
+ final static int FOAR0001 = 92; // Division by zero. This error is raised whenever an attempt is made to divide by zero.
102
+ final static int FOAR0002 = 93; // Numeric operation overflow/underflow. This error is raised whenever numeric operations result in an overflow or underflow.
103
+ final static int FOCA0001 = 94; // Input value too large for decimal.
104
+ final static int FOCA0002 = 95; // Invalid lexical value.
105
+ final static int FOCA0003 = 96; // Input value too large for integer.
106
+ final static int FOCA0005 = 97; // NaN supplied as float/double value.
107
+ final static int FOCA0006 = 98; // String to be cast to decimal has too many digits of precision.
108
+ final static int FOCH0001 = 99; // Code point not valid.
109
+ final static int FOCH0002 = 100; // Unsupported collation.
110
+ final static int FOCH0003 = 101; // Unsupported normalization form.
111
+ final static int FOCH0004 = 102; // Collation does not support collation units.
112
+ final static int FODC0001 = 103; // No context document.
113
+ final static int FODC0002 = 104; // Error retrieving resource.
114
+ final static int FODC0003 = 105; // Function stability not defined.
115
+ final static int FODC0004 = 106; // Invalid argument to fn:collection.
116
+ final static int FODC0005 = 107; // Invalid argument to fn:doc.
117
+ final static int FODT0001 = 108; // Overflow/underflow in date/time operation.
118
+ final static int FODT0002 = 109; // Overflow/underflow in duration operation.
119
+ final static int FODT0003 = 110; // Invalid timezone value.
120
+ final static int FONS0004 = 111; // No namespace found for prefix.
121
+ final static int FONS0005 = 112; // Base-uri not defined in the static context.
122
+ final static int FORG0001 = 113; // Invalid value for cast/constructor.
123
+ final static int FORG0002 = 114; // Invalid argument to URL resolve algorithm.
124
+ final static int FORG0003 = 115; // fn:zero-or-one called with a sequence containing more than one item.
125
+ final static int FORG0004 = 116; // fn:one-or-more called with a sequence containing no items.
126
+ final static int FORG0005 = 117; // fn:exactly-one called with a sequence containing zero or more than one item.
127
+ final static int FORG0006 = 118; // Invalid argument type.
128
+ final static int FORG0008 = 119; // Both arguments to fn:dateTime have a specified timezone.
129
+ final static int FORG0009 = 120; // Error in resolving a relative URI against a base URI in fn:resolve-uri.
130
+ final static int FORX0001 = 121; // Invalid regular expression flags.
131
+ final static int FORX0002 = 122; // Invalid regular expression.
132
+ final static int FORX0003 = 123; // Regular expression matches zero-length string.
133
+ final static int FORX0004 = 124; // Invalid replacement string.
134
+ final static int FOTY0012 = 125; // Argument node does not have a typed value.
135
+ final static int SE1001 = 126; // Physical plan executor stack overflow.
136
+ final static int SE1002 = 127; // Feature is not implemented.
137
+ final static int SE1003 = 128; // Sedna internal error.
138
+ final static int SE1004 = 129; // Wrong physical plan representation.
139
+ final static int SE1005 = 130; // Scheme parser error.
140
+ final static int SE1006 = 131; // No document with this name in the specified collection.
141
+ final static int SE1007 = 132; // Invalid position in fn:item-at.
142
+ final static int SE1008 = 133; // Sedna index subsystem error.
143
+ final static int SE1009 = 134; // Buffer overflow.
144
+ final static int SE1011 = 135; // Data file has reached its maximum size.
145
+ final static int SE1012 = 136; // Temporary file has reached its maximum size.
146
+ final static int SE1013 = 137; // Cannot extend data file.
147
+ final static int SE1014 = 138; // Cannot extend temporary file.
148
+ final static int SE1015 = 139; // There is no enough memory to initialize buffers.
149
+ final static int SE1016 = 140; // Cannot lock buffer memory.
150
+ final static int SE1017 = 141; // Cannot mount ramfs.
151
+ final static int SE1018 = 142; // Transaction with this id already exists.
152
+ final static int SE1019 = 143; // There is no transaction with this id.
153
+ final static int SE1020 = 144; // Transaction's limit on locked blocks in memory is exceeded.
154
+ final static int SE1021 = 145; // Cannot lock block in memory because it is not in memory.
155
+ final static int SE1022 = 146; // Cannot unlock block because it is not in memory.
156
+ final static int SE1023 = 147; // Unexpected arguments in call to SM.
157
+ final static int SE1031 = 148; // Cannot allocate enough address space segment.
158
+ final static int SE1032 = 149; // Error setting up alternate stack.
159
+ final static int SE1033 = 150; // Error setting up signal handler.
160
+ final static int SE1034 = 151; // Connection with SM lost.
161
+ final static int SE1035 = 152; // Memory mapping error.
162
+ final static int SE1036 = 153; // Cannot (un)swap blocks (address is out of bounds).
163
+ final static int SE1037 = 154; // Cannot open buffer memory.
164
+ final static int SE1038 = 155; // Cannot close buffer memory.
165
+ final static int SE1039 = 156; // Error waiting for VMM thread to shutdown.
166
+ final static int SE1040 = 157; // Cannot determine enough address space segment.
167
+ final static int SE1051 = 158; // Sedna query optimizer error.
168
+ final static int SE1061 = 159; // No index with this name.
169
+ final static int SE1071 = 160; // Expecting arguments of type xs:string.
170
+ final static int SE1072 = 161; // Modules to be loaded belong to different namespaces.
171
+ final static int SE1073 = 162; // Module with the given URI already loaded to the database.
172
+ final static int SE1074 = 163; // Unable to drop a module - no module with the given URI.
173
+ final static int SE2001 = 164; // Document with the same name already exists.
174
+ final static int SE2002 = 165; // Collection with the same name already exists.
175
+ final static int SE2003 = 166; // No collection with this name.
176
+ final static int SE2004 = 167; // Document with the same name already exists in the collection.
177
+ final static int SE2005 = 168; // Parse error at
178
+ final static int SE2006 = 169; // No document with this name.
179
+ final static int SE2007 = 170; // Left sibling is not an attribute
180
+ final static int SE2008 = 171; // Valid URI expected.
181
+ final static int SE2009 = 172; // Size of text should be greater then zero
182
+ final static int SE2010 = 173; // Invalid result of the delete undeep argument: sequence contains non-persistent or document nodes
183
+ final static int SE2011 = 174; // Invalid result of the delete argument: sequence contains atomic values
184
+ final static int SE2012 = 175; // Invalid result of the delete argument: sequence contains temporary nodes
185
+ final static int SE2013 = 176; // Invalid result of the second insert argument: sequence contains atomic values or temporary nodes
186
+ final static int SE2014 = 177; // Invalid result of the first insert argument: bad sequence of nodes
187
+ final static int SE2015 = 178; // Invalid result of the first insert argument: sequence contains atomic values
188
+ final static int SE2016 = 179; // Attempt to insert element before attribute
189
+ final static int SE2017 = 180; // Attempt to insert the node to it's descendant
190
+ final static int SE2018 = 181; // Invalid result of the second insert argument: sequence contains either attribute, namespace, comment, PI or temporary node
191
+ final static int SE2019 = 182; // Invalid result of the second insert argument: sequence contains atomic values
192
+ final static int SE2020 = 183; // Invalid result of the update argument: sequence contains atomic values or one of these nodes: tempory, text, comment,PI,namespace,document
193
+ final static int SE2021 = 184; // Invalid result of the update argument: sequence contains atomic values
194
+ final static int SE2022 = 185; // this node test is not yet implemented
195
+ final static int SE2023 = 186; // [nid_assign] The length of prefix exceeds PSTRMAXSIZE
196
+ final static int SE2024 = 187; // trying to store string exceeding maximum permited size
197
+ final static int SE2025 = 188; // checkTreeConsistency:Ancestor-descendant error
198
+ final static int SE2026 = 189; // checkTreeConsistency:First child pointer
199
+ final static int SE2027 = 190; // checkTreeConsistency:sibling pointer errors
200
+ final static int SE2028 = 191; // checkTreeConsistency:nid comparison error
201
+ final static int SE2029 = 192; // checkTreeConsistency:wrong descriptor's order
202
+ final static int SE2030 = 193; // checkTreeConsistency:Bad indirection table
203
+ final static int SE2031 = 194; // atomic value as input for test engine
204
+ final static int SE2032 = 195; // trying to create mixed content in the element whose value is used as key
205
+ final static int SE2033 = 196; // Index with the same name already exists.
206
+ final static int SE2034 = 197; // Invalid index type (xs:string, xs:integer, xs:float, xs:double, xs:date, xs:time, xs:dateTime, xs_yearMonthDuration, xs_dateTimeDuration are supported).
207
+ final static int SE2035 = 198; // Invalid mode in index_scan_between function
208
+ final static int SE2036 = 199; // Document node deletion is prohibited by this function use DROP DOCUMENT in metadata API
209
+ final static int SE2037 = 200; // The size of string is limited by 4 GB
210
+ final static int SE2038 = 201; // An attempt to insert attribute node after element
211
+ final static int SE2100 = 202; // SQL:Bad connect option
212
+ final static int SE2101 = 203; // SQL:Bad handle
213
+ final static int SE2102 = 204; // SQL:Failed to get executor
214
+ final static int SE2103 = 205; // SQL:Unknown handle type
215
+ final static int SE2104 = 206; // SQL:Invalid handle type
216
+ final static int SE2105 = 207; // SQL:Failed to prepare statement
217
+ final static int SE2106 = 208; // SQL:Failed to execute prepared statement
218
+ final static int SE2107 = 209; // SQL:Not enough parameters for prepared statement
219
+ final static int SE2108 = 210; // SQL:Disconnect failed
220
+ final static int SE2109 = 211; // SQL:Commit failed
221
+ final static int SE2110 = 212; // SQL:Rollback failed
222
+ final static int SE2111 = 213; // SQL:Connect failed
223
+ final static int SE2112 = 214; // SQL:Execute failed
224
+ final static int SE2113 = 215; // SQL Connection support disabled
225
+ final static int SE2200 = 216; // External function initialization error
226
+ final static int SE2201 = 217; // External function invocation error
227
+ final static int SE2202 = 218; // External function de-initialization error
228
+ final static int SE2203 = 219; // External function load error
229
+ final static int SE2999 = 220; // Sedna Client-Server Protocol used in your application does not support this feature. Use protocol of recent version.
230
+ final static int SE3000 = 221; // Failed to clean up socket library.
231
+ final static int SE3001 = 222; // Failed to initialize a socket.
232
+ final static int SE3002 = 223; // Failed to get local host name.
233
+ final static int SE3003 = 224; // Failed to connect the host specified.
234
+ final static int SE3004 = 225; // Failed to bind the socket to the port specified.
235
+ final static int SE3005 = 226; // Failed to set the socket into the listening mode
236
+ final static int SE3006 = 227; // Failed to send a message.
237
+ final static int SE3007 = 228; // Failed to receive a message.
238
+ final static int SE3008 = 229; // Unknown message from server.
239
+ final static int SE3009 = 230; // Unknown message from client.
240
+ final static int SE3010 = 231; // Can't duplicate socket handle.
241
+ final static int SE3011 = 232; // Failed to close a socket.
242
+ final static int SE3012 = 233; // Message length exceeds available size.
243
+ final static int SE3013 = 234; // Can't get file from client to be loaded.
244
+ final static int SE3014 = 235; // Wrong client-server protocol version.
245
+ final static int SE3015 = 236; // Too long login/password/db_name.
246
+ final static int SE3016 = 237; // Failed to initialize socket library.
247
+ final static int SE3017 = 238; // Can't open file with data to load.
248
+ final static int SE3018 = 239; // Can't read file with data to load.
249
+ final static int SE3019 = 240; // Can't close file with data to load.
250
+ final static int SE3020 = 241; // Can't close tmp file.
251
+ final static int SE3021 = 242; // Can't delete tmp file.
252
+ final static int SE3022 = 243; // Invalid argument.
253
+ final static int SE3023 = 244; // dbname is too long.
254
+ final static int SE3024 = 245; // login is too long.
255
+ final static int SE3025 = 246; // password is too long.
256
+ final static int SE3026 = 247; // url is too long.
257
+ final static int SE3027 = 248; // Failed to set socket option.
258
+ final static int SE3028 = 249; // Connection with server is closed or have not been established yet.
259
+ final static int SE3029 = 250; // This function call is prohibited as the connection is in the autocommit mode.
260
+ final static int SE3030 = 251; // Failed to initialize SSMMsg service (message service).
261
+ final static int SE3031 = 252; // Failed to serve clients via SSMMsg service (message service).
262
+ final static int SE3032 = 253; // Failed to stop serve clients via SSMMsg service (message service).
263
+ final static int SE3033 = 254; // Failed to shutdown SSMMsg service (message service).
264
+ final static int SE3034 = 255; // Can't send message via SSMMsg
265
+ final static int SE3040 = 256; // Connection with Gov lost.
266
+ final static int SE3043 = 257; // Can not register session in Gov.
267
+ final static int SE3044 = 258; // Can not unregister session in Gov.
268
+ final static int SE3045 = 259; // Can not register SM in Gov.
269
+ final static int SE3046 = 260; // Can't create new session (sessions number exceeds permissible threshold )
270
+ final static int SE3047 = 261; // Can't open session (client failed to send authentication parameters on time)
271
+ final static int SE3051 = 262; // Failed to set up ctrl handler.
272
+ final static int SE3052 = 263; // Failed to run se_trn process.
273
+ final static int SE3053 = 264; // Authentication failed.
274
+ final static int SE3054 = 265; // Can't run session: system is busy
275
+ final static int SE3060 = 266; // Failed to create a new ACL.
276
+ final static int SE3061 = 267; // Failed to set DACL to the data file security descriptor.
277
+ final static int SE3062 = 268; // Failed to open process token.
278
+ final static int SE3063 = 269; // Failed to release ACL.
279
+ final static int SE3064 = 270; // You do not have enough permissions (you have to be root in UNIX and a member of Administrators group in Windows to run the application).
280
+ final static int SE3065 = 271; // You do not have necessary privileges on this database object.
281
+ final static int SE3066 = 272; // Failed to process authorization.
282
+ final static int SE3067 = 273; // User name is not specified.
283
+ final static int SE3068 = 274; // This statement is not supported because Sedna' database security level is "off". (To support this statement create database with -db-security option "authentication".)
284
+ final static int SE3069 = 275; // Wrong privilege name.
285
+ final static int SE3070 = 276; // Multiple parameters parted by commas are not supported in the current version of Sedna.
286
+ final static int SE3071 = 277; // Failed to load authorization metadata.
287
+ final static int SE3072 = 278; // User does not have privilege.
288
+ final static int SE3073 = 279; // User is not allowed to grant this privilege.
289
+ final static int SE3074 = 280; // User is not allowed to grant this role.
290
+ final static int SE3075 = 281; // User is not allowed to revoke this privilege, or the grantee does not have this privilege.
291
+ final static int SE3076 = 282; // User is not allowed to revoke this role, or the grantee does not have this role.
292
+ final static int SE3077 = 283; // User is not allowed to alter specified user.
293
+ final static int SE3078 = 284; // User is not allowed to drop specified user.
294
+ final static int SE3079 = 285; // User with this name already exists.
295
+ final static int SE3080 = 286; // Role with this name already exists.
296
+ final static int SE3200 = 287; // Trigger with this name already exists.
297
+ final static int SE3201 = 288; // Failed to execute trigger action.
298
+ final static int SE3202 = 289; // Wrong trigger action parameter type.
299
+ final static int SE3203 = 290; // Trigger action results in an item that is not a node.
300
+ final static int SE3204 = 291; // Trigger action must always return a result.
301
+ final static int SE3205 = 292; // Trigger action tries to update a document/collection that is currently updating by the outer update statement.
302
+ final static int SE3206 = 293; // Cannot execute trigger action, since current cascade level exceeds permissible threshold.
303
+ final static int SE4001 = 294; // XQuery parser internal error.
304
+ final static int SE4002 = 295; // Unexpected type of the query given.
305
+ final static int SE4003 = 296; // Unexpected number of statements given
306
+ final static int SE4004 = 297; // Scheme part unknown error
307
+ final static int SE4005 = 298; // Invalid list after scheme processing
308
+ final static int SE4006 = 299; // Static query analisis error
309
+ final static int SE4007 = 300; // Too long statement
310
+ final static int SE4008 = 301; // Wrong logical plan representation
311
+ final static int SE4009 = 302; // Too long input query
312
+ final static int SE4010 = 303; // Can't create semaphore
313
+ final static int SE4011 = 304; // Can't release semaphore
314
+ final static int SE4012 = 305; // Can't open semaphore
315
+ final static int SE4013 = 306; // Can't close semaphore
316
+ final static int SE4014 = 307; // Can't up semaphore
317
+ final static int SE4015 = 308; // Can't down semaphore
318
+ final static int SE4016 = 309; // Can't create shared memory
319
+ final static int SE4020 = 310; // Can't release shared memory
320
+ final static int SE4021 = 311; // Can't open shared memory
321
+ final static int SE4022 = 312; // Can't close shared memory
322
+ final static int SE4023 = 313; // Can't attach to shared memory
323
+ final static int SE4024 = 314; // Can't deattach from shared memory
324
+ final static int SE4025 = 315; // Can't create pipe
325
+ final static int SE4030 = 316; // Can't close pipe
326
+ final static int SE4031 = 317; // Can't read pipe
327
+ final static int SE4032 = 318; // Can't write pipe
328
+ final static int SE4040 = 319; // Can't create file
329
+ final static int SE4041 = 320; // Can't delete file
330
+ final static int SE4042 = 321; // Can't open file
331
+ final static int SE4043 = 322; // Can't close file
332
+ final static int SE4044 = 323; // Can't read file
333
+ final static int SE4045 = 324; // Can't write file
334
+ final static int SE4046 = 325; // Can't set file pointer
335
+ final static int SE4047 = 326; // Can't set end of file
336
+ final static int SE4048 = 327; // Can't create directory
337
+ final static int SE4049 = 328; // Can't copy file
338
+ final static int SE4050 = 329; // Can't get file size
339
+ final static int SE4051 = 330; // Can't get disk sector size
340
+ final static int SE4052 = 331; // Can't get unique file name
341
+ final static int SE4053 = 332; // Can't open directory
342
+ final static int SE4054 = 333; // Can't close directory
343
+ final static int SE4055 = 334; // Can't create directory
344
+ final static int SE4060 = 335; // Can't create thread
345
+ final static int SE4061 = 336; // Can't suspend thread
346
+ final static int SE4062 = 337; // Can't resume thread
347
+ final static int SE4063 = 338; // Can't close thread
348
+ final static int SE4064 = 339; // Can't exit thread
349
+ final static int SE4065 = 340; // Can't sleep thread
350
+ final static int SE4070 = 341; // Can't create process
351
+ final static int SE4071 = 342; // Can't terminate process
352
+ final static int SE4072 = 343; // Can't set environment variable
353
+ final static int SE4073 = 344; // Can't get environment variable
354
+ final static int SE4074 = 345; // Can't create memory mapping
355
+ final static int SE4075 = 346; // Can't release memory mapping
356
+ final static int SE4076 = 347; // Can't open memory mapping
357
+ final static int SE4077 = 348; // Can't close memory mapping
358
+ final static int SE4078 = 349; // Can't perform memory mapping
359
+ final static int SE4079 = 350; // Can't perform memory unmapping
360
+ final static int SE4080 = 351; // Can't set handles property
361
+ final static int SE4081 = 352; // Can't get process' image path
362
+ final static int SE4082 = 353; // Bad query encoding
363
+ final static int SE4083 = 354; // Can't read directory
364
+ final static int SE4150 = 355; // Logical log read buffer too small
365
+ final static int SE4151 = 356; // Too small shared memory size for logical log
366
+ final static int SE4152 = 357; // Bad parameters: start LSN less then end LSN
367
+ final static int SE4153 = 358; // Bad checkpoint record given
368
+ final static int SE4154 = 359; // Bad record from logical log given
369
+ final static int SE4155 = 360; // Bad transaction identifier given
370
+ final static int SE4200 = 361; // There is no database with the specified name
371
+ final static int SE4201 = 362; // Not Well-Formed Config file
372
+ final static int SE4202 = 363; // SM startup failure: SEDNA server is not running
373
+ final static int SE4203 = 364; // Can't send message via SSMMsg
374
+ final static int SE4204 = 365; // Database with the same name is already running
375
+ final static int SE4205 = 366; // Failed to run SM in the background mode (use '-background-mode off' for detailed diagnostics)
376
+ final static int SE4206 = 367; // Failed to initialize system parameters
377
+ final static int SE4207 = 368; // Failed to set up ctrl handler
378
+ final static int SE4208 = 369; // Failed to shutdown SM: SEDNA server is not running
379
+ final static int SE4209 = 370; // Failed to shutdown SM
380
+ final static int SE4210 = 371; // Error waiting for checkpoint thread to shutdown.
381
+ final static int SE4211 = 372; // Failed to create the database
382
+ final static int SE4212 = 373; // Database files format is incompatible with SEDNA binaries
383
+ final static int SE4300 = 374; // Path is not valid
384
+ final static int SE4301 = 375; // Can not initialize system structures
385
+ final static int SE4302 = 376; // Can not create persistent heap
386
+ final static int SE4303 = 377; // Can not allocate memory from persistent heap
387
+ final static int SE4304 = 378; // Can not close persistent heap
388
+ final static int SE4305 = 379; // Can not release system structures
389
+ final static int SE4306 = 380; // Can not back up PH
390
+ final static int SE4307 = 381; // Invalid database name.
391
+ final static int SE4308 = 382; // Failed to drop a database
392
+ final static int SE4400 = 383; // SEDNA server is not running
393
+ final static int SE4401 = 384; // Failed to run GOVERNOR in the background mode (use '-background-mode off' for detailed diagnostics)
394
+ final static int SE4402 = 385; // Failed to run GOVERNOR
395
+ final static int SE4403 = 386; // Failed to set up ctrl handler for GOVERNOR
396
+ final static int SE4404 = 387; // Error occured during closing LISTENER
397
+ final static int SE4405 = 388; // Session can't be closed
398
+ final static int SE4406 = 389; // There is no any sign of the SEDNA server running in the system
399
+ final static int SE4408 = 390; // Failed to run GOVERNOR: SEDNA server is running
400
+ final static int SE4409 = 391; // Failed to open session: database is not started
401
+ final static int SE4410 = 392; // Can't rename last soft fault directory
402
+ final static int SE4411 = 393; // Can't set sedna data variable
403
+ final static int SE4412 = 394; // The number of database config files exceeds the maximum freshold
404
+ final static int SE4413 = 395; // Can't create session process
405
+ final static int SE4500 = 396; // bad logical record given from logical log
406
+ final static int SE4501 = 397; // Can't recover database by logical log
407
+ final static int SE4510 = 398; // Hot-backup utility error
408
+ final static int SE4600 = 399; // One of the command line argumets is too long
409
+ final static int SE4601 = 400; // Command line arguments are not correct
410
+ final static int SE4602 = 401; // Can't get current working directory absolute path
411
+ final static int SE4603 = 402; // Can't get absolute path to the file
412
+ final static int SE4604 = 403; // Can't change working directory
413
+ final static int SE4605 = 404; // Initialization of persistent heap failed
414
+ final static int SE4606 = 405; // Release of persistent heap failed
415
+ final static int SE4607 = 406; // Can't run transaction: system is busy
416
+ final static int SE4608 = 407; // Transaction is rolled back because server is stopping
417
+ final static int SE4609 = 408; // The database does not exist
418
+ final static int SE4610 = 409; // There is no transaction to commit.
419
+ final static int SE4611 = 410; // There is no transaction to roll back.
420
+ final static int SE4612 = 411; // Commit current transaction before beginning a new one.
421
+ final static int SE4613 = 412; // Since version 0.6 se_trn is an internal process and cannot be run manually. Use se_term instead.
422
+ final static int SE4614 = 413; // There is no next item of the user's query.
423
+ final static int SE4615 = 414; // Begin transaction before executing a query.
424
+ final static int SE4616 = 415; // Can't load a document because the session is loading another document. Finish current loading before beginning a new one.
425
+ final static int SE4617 = 416; // Failed to set session option.
426
+ final static int SE4618 = 417; // Failed to reset session options.
427
+ final static int SE4700 = 418; // Unknown resource identifier type
428
+ final static int SE4701 = 419; // Internal Lock Manager error
429
+ final static int SE4702 = 420; // The resorce's name length is too long
430
+ final static int SE4703 = 421; // The transaction is a victim of deadlock resolution procedure
431
+ final static int SE4704 = 422; // Unknown reply from Lock Manager
432
+ final static int SE4705 = 423; // Deadlock is detected
433
+ final static int SE4706 = 424; // Cannot provide X-locks in RO-mode
434
+ final static int SE5000 = 425; // Unexpected number of arguments.
435
+ final static int SE5001 = 426; // Prolog not found for query.
436
+ final static int SE5002 = 427; // Body not found for query.
437
+ final static int SE5003 = 428; // Empty or unexpected query.
438
+ final static int SE5004 = 429; // Unexpected query.
439
+ final static int SE5005 = 430; // Unexpected expression.
440
+ final static int SE5006 = 431; // Operation not yet supported.
441
+ final static int SE5008 = 432; // Unexpected namespace prefix.
442
+ final static int SE5012 = 433; // Declaration not supported.
443
+ final static int SE5014 = 434; // Not a constant.
444
+ final static int SE5015 = 435; // Not a proper QName.
445
+ final static int SE5016 = 436; // Unknown item type.
446
+ final static int SE5017 = 437; // Not a name specifier.
447
+ final static int SE5018 = 438; // Not a type declaration.
448
+ final static int SE5019 = 439; // Improper list of formal parameters.
449
+ final static int SE5020 = 440; // Not a valid variable name.
450
+ final static int SE5021 = 441; // Not a return type declaration.
451
+ final static int SE5022 = 442; // Not a function body.
452
+ final static int SE5023 = 443; // Malformed variable name.
453
+ final static int SE5026 = 444; // Type definition for constant not found.
454
+ final static int SE5027 = 445; // Constant value is not compatible with the type definition.
455
+ final static int SE5028 = 446; // Constant is not a proper QName.
456
+ final static int SE5030 = 447; // Not a type specifier.
457
+ final static int SE5032 = 448; // Not an anonimous function definition.
458
+ final static int SE5033 = 449; // Too many arguments in a function.
459
+ final static int SE5034 = 450; // DDO contains atomic values in its argument.
460
+ final static int SE5035 = 451; // Not an ivar declaration.
461
+ final static int SE5036 = 452; // No function name provided in the function call.
462
+ final static int SE5040 = 453; // Empty or unexpected update operation.
463
+ final static int SE5041 = 454; // Unknown update operation.
464
+ final static int SE5042 = 455; // Insert is applied to a non-node type.
465
+ final static int SE5043 = 456; // Rename is applied to a non-node type.
466
+ final static int SE5044 = 457; // Delete is applied to a non-node type.
467
+ final static int SE5045 = 458; // Empty or unexpected manage operation.
468
+ final static int SE5046 = 459; // Unknown manage operation.
469
+ final static int SE5047 = 460; // Empty or unexpected metadata operation.
470
+ final static int SE5048 = 461; // Unknown metadata operation.
471
+ final static int SE5049 = 462; // Not a structural XPath supplied.
472
+ final static int SE5050 = 463; // Unknown mode supplied for index-scan function call.
473
+ final static int SE5051 = 464; // Unknown range specified for index-scan-between function call.
474
+ final static int SE5054 = 465; // Unexpected value of the boundary-space declaration.
475
+ final static int SE5055 = 466; // Unknown option in XQuery prolog.
476
+ final static int SE5056 = 467; // Malformed cases supplied in a typeswitch operation.
477
+ final static int SE5057 = 468; // No default case supplied for a typeswitch operation.
478
+ final static int SE5058 = 469; // Unexpected case for a typeswitch operation.
479
+ final static int SE5059 = 470; // Malformed default case for a typeswitch operation.
480
+ final static int SE5060 = 471; // Unexpected default empty order declaration in XQuery prolog.
481
+ final static int SE5061 = 472; // Malformed ascending/descending order declaration in order by clause.
482
+ final static int SE5062 = 473; // Malformed empty greatest / empty least declaration in order by clause.
483
+ final static int SE5063 = 474; // Malformed stable order by.
484
+ final static int SE5064 = 475; // Order modifier expected.
485
+ final static int SE5065 = 476; // Order specification expected.
486
+ final static int SE5066 = 477; // Orderspecs expected.
487
+ final static int SE5067 = 478; // Malformed name-value pair in Sedna-specific option declaration.
488
+ final static int SE5068 = 479; // Unknown key(s) given in se:output option.
489
+ final static int SE5069 = 480; // Empty option value for Sedna-specific option.
490
+ final static int SE5070 = 481; // Duplicate key entry in se:output option.
491
+ final static int SE5071 = 482; // Unknown value bound with a "method" key in se:output option.
492
+ final static int SE5072 = 483; // Unknown value bound with an "indent" key in se:output option.
493
+ final static int SE5073 = 484; // Unknown time specifier in CREATE TRIGGER statement. Expected: BEFORE or AFTER.
494
+ final static int SE5074 = 485; // Unknown event specifier in CREATE TRIGGER statement.
495
+ final static int SE5075 = 486; // Malformed list of statements in the DO-clause of CREATE TRIGGER statement.
496
+ final static int SE5076 = 487; // Unknown granularity specified in CREATE TRIGGER statement.
497
+ final static int SE5077 = 488; // Variable declaration expected.
498
+ final static int SE5078 = 489; // LibraryModule expected, given unexpected.
499
+ final static int SE5079 = 490; // Unexpected ModuleDecl supplied.
500
+ final static int SE5080 = 491; // Unknown full-text index type supplied for a CREATE FULL-TEXT INDEX statement.
501
+ final static int SE5081 = 492; // Ill-formed "customized-value" full-text index type provided.
502
+ final static int SE5100 = 493; // Error in Scheme part.
503
+ final static int SE5101 = 494; // Scheme part panic.
504
+ final static int SE5500 = 495; // An attempt to create a statement on a closed connection.
505
+ final static int SE5501 = 496; // Result item cannot be returned as a String because it is too large.
506
+ final static int SE5502 = 497; // Unsupported encoding.
507
+ final static int SE6000 = 498; // User statement is too large (maximum size allowed is 2 Mb).
508
+ final static int SE9000 = 499; // User defined error
509
+ final static int SE2039 = 500; // Invalid result of the second insert argument: sequence contains non-persistent or document nodes
510
+ final static int SE3207 = 501; // XPath expression after the 'ON' keyword is invalid.
511
+ final static int SE3208 = 502; // The trigger variable is used but undefined in this context.
512
+ final static int SE3209 = 503; // It is prohibited to use trigger variables in statement-level triggers.
513
+ final static int SE4619 = 504; // Unknown session option.
514
+ final static int SE3210 = 505; // Trigger action in a node-level trigger must end with an XQuery query.
515
+ final static int SE3211 = 506; // No trigger with this name.
516
+ final static int SE2040 = 507; // Too many childs by schema.
517
+ final static int SE4620 = 508; // Transaction has been rolled back due to timeout or hard stop request.
518
+ final static int SE4801 = 509; // Cannot initialize wu.
519
+ final static int SE4802 = 510; // Cannot release wu.
520
+ final static int SE2041 = 511; // Result is cut, because its size exceeds max allowed size (set by client).
521
+ final static int SE4901 = 512; // Internal LFS error.
522
+ final static int SE4902 = 513; // Internal LL error.
523
+ final static int SE4903 = 514; // Hot-backup error.
524
+ final static int SE4621 = 515; // Property is unknown.
525
+ final static int SE4622 = 516; // This statement is not supported because Sedna' database security level is "authentication". (To support this statement create database with -db-security option "authorization".)
526
+ final static int SE5200 = 517; // Internal Runtime Configuration utility error
527
+ final static int SE4623 = 518; // Cannot set keep alive session timeout
528
+ final static int SE4624 = 519; // Session was closed since keep alive timeout has been expired
529
+ final static int SE3081 = 520; // Can't open file with long query to execute
530
+ final static int XQDY0096 = 521; // It is a dynamic error the node-name of a node constructed by a computed element constructor has any of the following properties: its namespace prefix is xmlns, its namespace URI is http://www.w3.org/2000/xmlns/, its namespace prefix is xml and its namespace URI is not http://www.w3.org/XML/1998/namespace, its namespace prefix is other than xml and its namespace URI is http://www.w3.org/XML/1998/namespace.
531
+
532
+ static String [][] user_error_code_entry = {
533
+ { "SE1000", "Environment error. This error is caused by environment (operating system)."}
534
+ ,{ "XPST0001", "It is a static error if analysis of an expression relies on some component of the static context that has not been assigned a value."}
535
+ ,{ "XPDY0002", "It is a dynamic error if evaluation of an expression relies on some part of the dynamic context that has not been assigned a value."}
536
+ ,{ "XPST0003", "It is a static error if an expression is not a valid instance of the grammar defined in A.1 EBNF."}
537
+ ,{ "XPTY0004", "It is a type error if, during the static analysis phase, an expression is found to have a static type that is not appropriate for the context in which the expression occurs, or during the dynamic evaluation phase, the dynamic type of a value does not match a required type as specified by the matching rules in 2.5.4 SequenceType Matching."}
538
+ ,{ "XPST0005", "During the analysis phase, it is a static error if the static type assigned to an expression other than the expression () or data(()) is empty-sequence()."}
539
+ ,{ "XPTY0006", "(Not currently used.)"}
540
+ ,{ "XPTY0007", "(Not currently used.)"}
541
+ ,{ "XPST0008", "It is a static error if an expression refers to an element name, attribute name, schema type name, namespace prefix, or variable name that is not defined in the static context, except within an ElementTest or an AttributeTest."}
542
+ ,{ "XQST0009", "An implementation that does not support the Schema Import Feature must raise a static error if a Prolog contains a schema import."}
543
+ ,{ "XPST0010", "An implementation must raise a static error if it encounters a reference to an axis that it does not support."}
544
+ ,{ "XQST0012", "It is a static error if the set of definitions contained in all schemas imported by a Prolog do not satisfy the conditions for schema validity specified in Sections 3 and 5 of [XML Schema] Part 1--i.e., each definition must be valid, complete, and unique."}
545
+ ,{ "XQST0013", "It is a static error if an implementation recognizes a pragma but determines that its content is invalid."}
546
+ ,{ "XQST0014", "(Not currently used.)"}
547
+ ,{ "XQST0015", "(Not currently used.)"}
548
+ ,{ "XQST0016", "An implementation that does not support the Module Feature raises a static error if it encounters a module declaration or a module import."}
549
+ ,{ "XPST0017", "It is a static error if the expanded QName and number of arguments in a function call do not match the name and arity of a function signature in the static context."}
550
+ ,{ "XPTY0018", "It is a type error if the result of the last step in a path expression contains both nodes and atomic values."}
551
+ ,{ "XPTY0019", "It is a type error if the result of a step (other than the last step) in a path expression contains an atomic value."}
552
+ ,{ "XPTY0020", "It is a type error if, in an axis step, the context item is not a node."}
553
+ ,{ "XPDY0021", "(Not currently used.)"}
554
+ ,{ "XQST0022", "It is a static error if the value of a namespace declaration attribute is not a URILiteral."}
555
+ ,{ "XQTY0023", "(Not currently used.)"}
556
+ ,{ "XQTY0024", "It is a type error if the content sequence in an element constructor contains an attribute node following a node that is not an attribute node."}
557
+ ,{ "XQDY0025", "It is a dynamic error if any attribute of a constructed element does not have a name that is distinct from the names of all other attributes of the constructed element."}
558
+ ,{ "XQDY0026", "It is a dynamic error if the result of the content expression of a computed processing instruction constructor contains the string \"?>\"."}
559
+ ,{ "XQDY0027", "In a validate expression, it is a dynamic error if the root element information item in the PSVI resulting from validation does not have the expected validity property: valid if validation mode is strict, or either valid or notKnown if validation mode is lax."}
560
+ ,{ "XQTY0028", "(Not currently used.)"}
561
+ ,{ "XQDY0029", "(Not currently used.)"}
562
+ ,{ "XQTY0030", "It is a type error if the argument of a validate expression does not evaluate to exactly one document or element node."}
563
+ ,{ "XQST0031", "It is a static error if the version number specified in a version declaration is not supported by the implementation."}
564
+ ,{ "XQST0032", "A static error is raised if a Prolog contains more than one base URI declaration."}
565
+ ,{ "XQST0033", "It is a static error if a Prolog contains multiple declarations for the same namespace prefix."}
566
+ ,{ "XQST0034", "It is a static error if multiple functions declared or imported by a module have the number of arguments and their expanded QNames are equal (as defined by the eq operator)."}
567
+ ,{ "XQST0035", "It is a static error to import two schema components that both define the same name in the same symbol space and in the same scope."}
568
+ ,{ "XQST0036", "It is a static error to import a module if the importing module's in-scope schema types do not include definitions for the schema type names that appear in the declarations of variables and functions (whether in an argument type or return type) that are present in the imported module and are referenced in the importing module."}
569
+ ,{ "XQST0037", "(Not currently used.)"}
570
+ ,{ "XQST0038", "It is a static error if a Prolog contains more than one default collation declaration, or the value specified by a default collation declaration is not present in statically known collations."}
571
+ ,{ "XQST0039", "It is a static error for a function declaration to have more than one parameter with the same name."}
572
+ ,{ "XQST0040", "It is a static error if the attributes specified by a direct element constructor do not have distinct expanded QNames."}
573
+ ,{ "XQDY0041", "It is a dynamic error if the value of the name expression in a computed processing instruction constructor cannot be cast to the type xs:NCName."}
574
+ ,{ "XQST0042", "(Not currently used.)"}
575
+ ,{ "XQST0043", "(Not currently used.)"}
576
+ ,{ "XQDY0044", "It is a dynamic error the node-name of a node constructed by a computed attribute constructor has any of the following properties: its namespace prefix is xmlns, it has no namespace prefix and its local name is xmlns, its namespace URI is http://www.w3.org/2000/xmlns/, its namespace prefix is xml and its namespace URI is not http://www.w3.org/XML/1998/namespace, its namespace prefix is other than xml and its namespace URI is http://www.w3.org/XML/1998/namespace."}
577
+ ,{ "XQST0045", "It is a static error if the function name in a function declaration is in one of the following namespaces: http://www.w3.org/XML/1998/namespace, http://www.w3.org/2001/XMLSchema, http://www.w3.org/2001/XMLSchema-instance, http://www.w3.org/2005/xpath-functions, http://www.w3.org/2005/xpath-datatypes."}
578
+ ,{ "XQST0046", "An implementation MAY raise a static error if the value of a URILiteral is of nonzero length and is not in the lexical space of xs:anyURI, or if it is a string that represents a \"relative reference\" as defined in [RFC3986]."}
579
+ ,{ "XQST0047", "It is a static error if multiple module imports in the same Prolog specify the same target namespace."}
580
+ ,{ "XQST0048", "It is a static error if a function or variable declared in a library module is not in the target namespace of the library module."}
581
+ ,{ "XQST0049", "It is a static error if two or more variables declared or imported by a module have equal expanded QNames (as defined by the eq operator.)"}
582
+ ,{ "XPDY0050", "It is a dynamic error if the dynamic type of the operand of a treat expression does not match the sequence type specified by the treat expression. This error might also be raised by a path expression beginning with \"/\" or \"//\" if the context node is not in a tree that is rooted at a document node. This is because a leading \"/\" or \"//\" in a path expression is an abbreviation for an initial step that includes the clause treat as document-node()."}
583
+ ,{ "XPST0051", "It is a static error if a QName that is used as an AtomicType in a SequenceType is not defined in the in-scope schema types as an atomic type."}
584
+ ,{ "XQDY0052", "(Not currently used.)"}
585
+ ,{ "XQST0053", "(Not currently used.)"}
586
+ ,{ "XQST0054", "It is a static error if the initializing expression in a variable declaration cannot be executed because of a circularity (for example, the expression depends on a function that in turn depends on the value of the initialized variable)."}
587
+ ,{ "XQST0055", "It is a static error if a Prolog contains more than one copy-namespaces declaration."}
588
+ ,{ "XQST0056", "(Not currently used.)"}
589
+ ,{ "XQST0057", "It is a static error if a schema import binds a namespace prefix but does not specify a target namespace other than a zero-length string."}
590
+ ,{ "XQST0058", "It is a static error if multiple schema imports specify the same target namespace."}
591
+ ,{ "XQST0059", "It is a static error if an implementation is unable to process a schema or module import by finding a schema or module with the specified target namespace."}
592
+ ,{ "XQST0060", "It is a static error if the name of a function in a function declaration is not in a namespace (expanded QName has a null namespace URI)."}
593
+ ,{ "XQDY0061", "It is a dynamic error if the operand of a validate expression is a document node whose children do not consist of exactly one element node and zero or more comment and processing instruction nodes, in any order."}
594
+ ,{ "XQDY0062", "(Not currently used.)"}
595
+ ,{ "XQST0063", "(Not currently used.)"}
596
+ ,{ "XQDY0064", "It is a dynamic error if the value of the name expression in a computed processing instruction constructor is equal to \"XML\" (in any combination of upper and lower case)."}
597
+ ,{ "XQST0065", "A static error is raised if a Prolog contains more than one ordering mode declaration."}
598
+ ,{ "XQST0066", "A static error is raised if a Prolog contains more than one default element/type namespace declaration, or more than one default function namespace declaration."}
599
+ ,{ "XQST0067", "A static error is raised if a Prolog contains more than one construction declaration."}
600
+ ,{ "XQST0068", "A static error is raised if a Prolog contains more than one boundary-space declaration."}
601
+ ,{ "XQST0069", "A static error is raised if a Prolog contains more than one empty order declaration."}
602
+ ,{ "XQST0070", "A static error is raised if one of the predefined prefixes xml or xmlns appears in a namespace declaration, or if any of the following conditions is statically detected in any expression or declaration: the prefix xml is bound to some namespace URI other than http://www.w3.org/XML/1998/namespace, a prefix other than xml is bound to the namespace URI http://www.w3.org/XML/1998/namespace, the prefix xmlns is bound to any namespace URI, a prefix other than xmlns is bound to the namespace URI http://www.w3.org/2000/xmlns/."}
603
+ ,{ "XQST0071", "A static error is raised if the namespace declaration attributes of a direct element constructor do not have distinct names."}
604
+ ,{ "XQDY0072", "It is a dynamic error if the result of the content expression of a computed comment constructor contains two adjacent hyphens or ends with a hyphen."}
605
+ ,{ "XQST0073", "It is a static error if the graph of module imports contains a cycle (that is, if there exists a sequence of modules M1 ... Mn such that each Mi imports Mi+1 and Mn imports M1), unless all the modules in the cycle share a common namespace."}
606
+ ,{ "XQDY0074", "It is a dynamic error if the value of the name expression in a computed element or attribute constructor cannot be converted to an expanded QName (for example, because it contains a namespace prefix not found in statically known namespaces.)"}
607
+ ,{ "XQST0075", "An implementation that does not support the Validation Feature must raise a static error if it encounters a validate expression."}
608
+ ,{ "XQST0076", "It is a static error if a collation subclause in an order by clause of a FLWOR expression does not identify a collation that is present in statically known collations."}
609
+ ,{ "XQST0077", "(Not currently used.)"}
610
+ ,{ "XQST0078", "(Not currently used.)"}
611
+ ,{ "XQST0079", "It is a static error if an extension expression contains neither a pragma that is recognized by the implementation nor an expression enclosed in curly braces."}
612
+ ,{ "XPST0080", "The target type of a cast or castable expression must be an atomic type that is in the in-scope schema types and is not xs:NOTATION or xs:anyAtomicType, optionally followed by the occurrence indicator \"?\"; otherwise a static error is raised."}
613
+ ,{ "XPST0081", "It is a static error if a QName used in a query contains a namespace prefix that cannot be expanded into a namespace URI by using the statically known namespaces."}
614
+ ,{ "XQST0082", "(Not currently used.)"}
615
+ ,{ "XPST0083", "(Not currently used.)"}
616
+ ,{ "XQDY0084", "It is a dynamic error if the element validated by a validate statement does not have a top-level element declaration in the in-scope element declarations, if validation mode is strict."}
617
+ ,{ "XQST0085", "It is a static error if the namespace URI in a namespace declaration attribute is a zero-length string, and the implementation does not support [XML Names 1.1]."}
618
+ ,{ "XQTY0086", "It is a type error if the typed value of a copied element or attribute node is namespace-sensitive when construction mode is preserve and copy-namespaces mode is no-preserve."}
619
+ ,{ "XQST0087", "It is a static error if the encoding specified in a Version Declaration does not conform to the definition of EncName specified in [XML 1.0]."}
620
+ ,{ "XQST0088", "It is a static error if the literal that specifies the target namespace in a module import or a module declaration is of zero length."}
621
+ ,{ "XQST0089", "It is a static error if a variable bound in a for clause of a FLWOR expression, and its associated positional variable, do not have distinct names (expanded QNames)."}
622
+ ,{ "XQST0090", "It is a static error if a character reference does not identify a valid character in the version of XML that is in use."}
623
+ ,{ "XQST0093", "It is a static error to import a module M1 if there exists a sequence of modules M1 ... Mi ... M1 such that each module directly depends on the next module in the sequence."}
624
+ ,{ "FOER0000", "Unidentified error."}
625
+ ,{ "FOAR0001", "Division by zero. This error is raised whenever an attempt is made to divide by zero."}
626
+ ,{ "FOAR0002", "Numeric operation overflow/underflow. This error is raised whenever numeric operations result in an overflow or underflow."}
627
+ ,{ "FOCA0001", "Input value too large for decimal. "}
628
+ ,{ "FOCA0002", "Invalid lexical value. "}
629
+ ,{ "FOCA0003", "Input value too large for integer. "}
630
+ ,{ "FOCA0005", "NaN supplied as float/double value. "}
631
+ ,{ "FOCA0006", "String to be cast to decimal has too many digits of precision. "}
632
+ ,{ "FOCH0001", "Code point not valid. "}
633
+ ,{ "FOCH0002", "Unsupported collation. "}
634
+ ,{ "FOCH0003", "Unsupported normalization form. "}
635
+ ,{ "FOCH0004", "Collation does not support collation units. "}
636
+ ,{ "FODC0001", "No context document. "}
637
+ ,{ "FODC0002", "Error retrieving resource. "}
638
+ ,{ "FODC0003", "Function stability not defined. "}
639
+ ,{ "FODC0004", "Invalid argument to fn:collection. "}
640
+ ,{ "FODC0005", "Invalid argument to fn:doc. "}
641
+ ,{ "FODT0001", "Overflow/underflow in date/time operation. "}
642
+ ,{ "FODT0002", "Overflow/underflow in duration operation. "}
643
+ ,{ "FODT0003", "Invalid timezone value. "}
644
+ ,{ "FONS0004", "No namespace found for prefix. "}
645
+ ,{ "FONS0005", "Base-uri not defined in the static context. "}
646
+ ,{ "FORG0001", "Invalid value for cast/constructor. "}
647
+ ,{ "FORG0002", "Invalid argument to URL resolve algorithm. "}
648
+ ,{ "FORG0003", "fn:zero-or-one called with a sequence containing more than one item. "}
649
+ ,{ "FORG0004", "fn:one-or-more called with a sequence containing no items. "}
650
+ ,{ "FORG0005", "fn:exactly-one called with a sequence containing zero or more than one item. "}
651
+ ,{ "FORG0006", "Invalid argument type. "}
652
+ ,{ "FORG0008", "Both arguments to fn:dateTime have a specified timezone. "}
653
+ ,{ "FORG0009", "Error in resolving a relative URI against a base URI in fn:resolve-uri. "}
654
+ ,{ "FORX0001", "Invalid regular expression flags. "}
655
+ ,{ "FORX0002", "Invalid regular expression. "}
656
+ ,{ "FORX0003", "Regular expression matches zero-length string. "}
657
+ ,{ "FORX0004", "Invalid replacement string. "}
658
+ ,{ "FOTY0012", "Argument node does not have a typed value. "}
659
+ ,{ "SE1001", "Physical plan executor stack overflow."}
660
+ ,{ "SE1002", "Feature is not implemented."}
661
+ ,{ "SE1003", "Sedna internal error."}
662
+ ,{ "SE1004", "Wrong physical plan representation."}
663
+ ,{ "SE1005", "Scheme parser error."}
664
+ ,{ "SE1006", "No document with this name in the specified collection."}
665
+ ,{ "SE1007", "Invalid position in fn:item-at."}
666
+ ,{ "SE1008", "Sedna index subsystem error."}
667
+ ,{ "SE1009", "Buffer overflow."}
668
+ ,{ "SE1011", "Data file has reached its maximum size."}
669
+ ,{ "SE1012", "Temporary file has reached its maximum size."}
670
+ ,{ "SE1013", "Cannot extend data file."}
671
+ ,{ "SE1014", "Cannot extend temporary file."}
672
+ ,{ "SE1015", "There is no enough memory to initialize buffers."}
673
+ ,{ "SE1016", "Cannot lock buffer memory."}
674
+ ,{ "SE1017", "Cannot mount ramfs."}
675
+ ,{ "SE1018", "Transaction with this id already exists."}
676
+ ,{ "SE1019", "There is no transaction with this id."}
677
+ ,{ "SE1020", "Transaction's limit on locked blocks in memory is exceeded."}
678
+ ,{ "SE1021", "Cannot lock block in memory because it is not in memory."}
679
+ ,{ "SE1022", "Cannot unlock block because it is not in memory."}
680
+ ,{ "SE1023", "Unexpected arguments in call to SM."}
681
+ ,{ "SE1031", "Cannot allocate enough address space segment."}
682
+ ,{ "SE1032", "Error setting up alternate stack."}
683
+ ,{ "SE1033", "Error setting up signal handler."}
684
+ ,{ "SE1034", "Connection with SM lost."}
685
+ ,{ "SE1035", "Memory mapping error."}
686
+ ,{ "SE1036", "Cannot (un)swap blocks (address is out of bounds)."}
687
+ ,{ "SE1037", "Cannot open buffer memory."}
688
+ ,{ "SE1038", "Cannot close buffer memory."}
689
+ ,{ "SE1039", "Error waiting for VMM thread to shutdown."}
690
+ ,{ "SE1040", "Cannot determine enough address space segment."}
691
+ ,{ "SE1051", "Sedna query optimizer error."}
692
+ ,{ "SE1061", "No index with this name."}
693
+ ,{ "SE1071", "Expecting arguments of type xs:string."}
694
+ ,{ "SE1072", "Modules to be loaded belong to different namespaces."}
695
+ ,{ "SE1073", "Module with the given URI already loaded to the database."}
696
+ ,{ "SE1074", "Unable to drop a module - no module with the given URI."}
697
+ ,{ "SE2001", "Document with the same name already exists."}
698
+ ,{ "SE2002", "Collection with the same name already exists."}
699
+ ,{ "SE2003", "No collection with this name."}
700
+ ,{ "SE2004", "Document with the same name already exists in the collection."}
701
+ ,{ "SE2005", "Parse error at "}
702
+ ,{ "SE2006", "No document with this name."}
703
+ ,{ "SE2007", "Left sibling is not an attribute"}
704
+ ,{ "SE2008", "Valid URI expected."}
705
+ ,{ "SE2009", "Size of text should be greater then zero"}
706
+ ,{ "SE2010", "Invalid result of the delete undeep argument: sequence contains non-persistent or document nodes"}
707
+ ,{ "SE2011", "Invalid result of the delete argument: sequence contains atomic values"}
708
+ ,{ "SE2012", "Invalid result of the delete argument: sequence contains temporary nodes "}
709
+ ,{ "SE2013", "Invalid result of the second insert argument: sequence contains atomic values or temporary nodes"}
710
+ ,{ "SE2014", "Invalid result of the first insert argument: bad sequence of nodes"}
711
+ ,{ "SE2015", "Invalid result of the first insert argument: sequence contains atomic values"}
712
+ ,{ "SE2016", "Attempt to insert element before attribute"}
713
+ ,{ "SE2017", "Attempt to insert the node to it's descendant"}
714
+ ,{ "SE2018", "Invalid result of the second insert argument: sequence contains either attribute, namespace, comment, PI or temporary node"}
715
+ ,{ "SE2019", "Invalid result of the second insert argument: sequence contains atomic values"}
716
+ ,{ "SE2020", "Invalid result of the update argument: sequence contains atomic values or one of these nodes: tempory, text, comment,PI,namespace,document"}
717
+ ,{ "SE2021", "Invalid result of the update argument: sequence contains atomic values"}
718
+ ,{ "SE2022", "this node test is not yet implemented"}
719
+ ,{ "SE2023", "[nid_assign] The length of prefix exceeds PSTRMAXSIZE"}
720
+ ,{ "SE2024", "trying to store string exceeding maximum permited size"}
721
+ ,{ "SE2025", "checkTreeConsistency:Ancestor-descendant error"}
722
+ ,{ "SE2026", "checkTreeConsistency:First child pointer"}
723
+ ,{ "SE2027", "checkTreeConsistency:sibling pointer errors"}
724
+ ,{ "SE2028", "checkTreeConsistency:nid comparison error"}
725
+ ,{ "SE2029", "checkTreeConsistency:wrong descriptor's order"}
726
+ ,{ "SE2030", "checkTreeConsistency:Bad indirection table"}
727
+ ,{ "SE2031", "atomic value as input for test engine"}
728
+ ,{ "SE2032", "trying to create mixed content in the element whose value is used as key"}
729
+ ,{ "SE2033", "Index with the same name already exists."}
730
+ ,{ "SE2034", "Invalid index type (xs:string, xs:integer, xs:float, xs:double, xs:date, xs:time, xs:dateTime, xs_yearMonthDuration, xs_dateTimeDuration are supported)."}
731
+ ,{ "SE2035", "Invalid mode in index_scan_between function"}
732
+ ,{ "SE2036", "Document node deletion is prohibited by this function use DROP DOCUMENT in metadata API"}
733
+ ,{ "SE2037", "The size of string is limited by 4 GB"}
734
+ ,{ "SE2038", "An attempt to insert attribute node after element"}
735
+ ,{ "SE2100", "SQL:Bad connect option "}
736
+ ,{ "SE2101", "SQL:Bad handle"}
737
+ ,{ "SE2102", "SQL:Failed to get executor"}
738
+ ,{ "SE2103", "SQL:Unknown handle type"}
739
+ ,{ "SE2104", "SQL:Invalid handle type"}
740
+ ,{ "SE2105", "SQL:Failed to prepare statement"}
741
+ ,{ "SE2106", "SQL:Failed to execute prepared statement"}
742
+ ,{ "SE2107", "SQL:Not enough parameters for prepared statement"}
743
+ ,{ "SE2108", "SQL:Disconnect failed"}
744
+ ,{ "SE2109", "SQL:Commit failed"}
745
+ ,{ "SE2110", "SQL:Rollback failed"}
746
+ ,{ "SE2111", "SQL:Connect failed"}
747
+ ,{ "SE2112", "SQL:Execute failed"}
748
+ ,{ "SE2113", "SQL Connection support disabled"}
749
+ ,{ "SE2200", "External function initialization error"}
750
+ ,{ "SE2201", "External function invocation error"}
751
+ ,{ "SE2202", "External function de-initialization error"}
752
+ ,{ "SE2203", "External function load error"}
753
+ ,{ "SE2999", "Sedna Client-Server Protocol used in your application does not support this feature. Use protocol of recent version."}
754
+ ,{ "SE3000", "Failed to clean up socket library."}
755
+ ,{ "SE3001", "Failed to initialize a socket."}
756
+ ,{ "SE3002", "Failed to get local host name."}
757
+ ,{ "SE3003", "Failed to connect the host specified."}
758
+ ,{ "SE3004", "Failed to bind the socket to the port specified."}
759
+ ,{ "SE3005", "Failed to set the socket into the listening mode"}
760
+ ,{ "SE3006", "Failed to send a message."}
761
+ ,{ "SE3007", "Failed to receive a message."}
762
+ ,{ "SE3008", "Unknown message from server."}
763
+ ,{ "SE3009", "Unknown message from client."}
764
+ ,{ "SE3010", "Can't duplicate socket handle."}
765
+ ,{ "SE3011", "Failed to close a socket."}
766
+ ,{ "SE3012", "Message length exceeds available size."}
767
+ ,{ "SE3013", "Can't get file from client to be loaded."}
768
+ ,{ "SE3014", "Wrong client-server protocol version."}
769
+ ,{ "SE3015", "Too long login/password/db_name."}
770
+ ,{ "SE3016", "Failed to initialize socket library."}
771
+ ,{ "SE3017", "Can't open file with data to load."}
772
+ ,{ "SE3018", "Can't read file with data to load."}
773
+ ,{ "SE3019", "Can't close file with data to load."}
774
+ ,{ "SE3020", "Can't close tmp file."}
775
+ ,{ "SE3021", "Can't delete tmp file."}
776
+ ,{ "SE3022", "Invalid argument."}
777
+ ,{ "SE3023", "dbname is too long."}
778
+ ,{ "SE3024", "login is too long."}
779
+ ,{ "SE3025", "password is too long."}
780
+ ,{ "SE3026", "url is too long."}
781
+ ,{ "SE3027", "Failed to set socket option."}
782
+ ,{ "SE3028", "Connection with server is closed or have not been established yet."}
783
+ ,{ "SE3029", "This function call is prohibited as the connection is in the autocommit mode."}
784
+ ,{ "SE3030", "Failed to initialize SSMMsg service (message service)."}
785
+ ,{ "SE3031", "Failed to serve clients via SSMMsg service (message service)."}
786
+ ,{ "SE3032", "Failed to stop serve clients via SSMMsg service (message service)."}
787
+ ,{ "SE3033", "Failed to shutdown SSMMsg service (message service)."}
788
+ ,{ "SE3034", "Can't send message via SSMMsg"}
789
+ ,{ "SE3040", "Connection with Gov lost."}
790
+ ,{ "SE3043", "Can not register session in Gov."}
791
+ ,{ "SE3044", "Can not unregister session in Gov."}
792
+ ,{ "SE3045", "Can not register SM in Gov."}
793
+ ,{ "SE3046", "Can't create new session (sessions number exceeds permissible threshold )"}
794
+ ,{ "SE3047", "Can't open session (client failed to send authentication parameters on time)"}
795
+ ,{ "SE3051", "Failed to set up ctrl handler."}
796
+ ,{ "SE3052", "Failed to run se_trn process."}
797
+ ,{ "SE3053", "Authentication failed."}
798
+ ,{ "SE3054", "Can't run session: system is busy"}
799
+ ,{ "SE3060", "Failed to create a new ACL."}
800
+ ,{ "SE3061", "Failed to set DACL to the data file security descriptor."}
801
+ ,{ "SE3062", "Failed to open process token."}
802
+ ,{ "SE3063", "Failed to release ACL."}
803
+ ,{ "SE3064", "You do not have enough permissions (you have to be root in UNIX and a member of Administrators group in Windows to run the application)."}
804
+ ,{ "SE3065", "You do not have necessary privileges on this database object."}
805
+ ,{ "SE3066", "Failed to process authorization."}
806
+ ,{ "SE3067", "User name is not specified."}
807
+ ,{ "SE3068", "This statement is not supported because Sedna' database security level is \"off\". (To support this statement create database with -db-security option \"authentication\".)"}
808
+ ,{ "SE3069", "Wrong privilege name."}
809
+ ,{ "SE3070", "Multiple parameters parted by commas are not supported in the current version of Sedna."}
810
+ ,{ "SE3071", "Failed to load authorization metadata."}
811
+ ,{ "SE3072", "User does not have privilege."}
812
+ ,{ "SE3073", "User is not allowed to grant this privilege."}
813
+ ,{ "SE3074", "User is not allowed to grant this role."}
814
+ ,{ "SE3075", "User is not allowed to revoke this privilege, or the grantee does not have this privilege."}
815
+ ,{ "SE3076", "User is not allowed to revoke this role, or the grantee does not have this role."}
816
+ ,{ "SE3077", "User is not allowed to alter specified user."}
817
+ ,{ "SE3078", "User is not allowed to drop specified user."}
818
+ ,{ "SE3079", "User with this name already exists."}
819
+ ,{ "SE3080", "Role with this name already exists."}
820
+ ,{ "SE3200", "Trigger with this name already exists."}
821
+ ,{ "SE3201", "Failed to execute trigger action."}
822
+ ,{ "SE3202", "Wrong trigger action parameter type."}
823
+ ,{ "SE3203", "Trigger action results in an item that is not a node."}
824
+ ,{ "SE3204", "Trigger action must always return a result."}
825
+ ,{ "SE3205", "Trigger action tries to update a document/collection that is currently updating by the outer update statement."}
826
+ ,{ "SE3206", "Cannot execute trigger action, since current cascade level exceeds permissible threshold."}
827
+ ,{ "SE4001", "XQuery parser internal error."}
828
+ ,{ "SE4002", "Unexpected type of the query given."}
829
+ ,{ "SE4003", "Unexpected number of statements given "}
830
+ ,{ "SE4004", "Scheme part unknown error "}
831
+ ,{ "SE4005", "Invalid list after scheme processing"}
832
+ ,{ "SE4006", "Static query analisis error"}
833
+ ,{ "SE4007", "Too long statement"}
834
+ ,{ "SE4008", "Wrong logical plan representation"}
835
+ ,{ "SE4009", "Too long input query"}
836
+ ,{ "SE4010", "Can't create semaphore"}
837
+ ,{ "SE4011", "Can't release semaphore"}
838
+ ,{ "SE4012", "Can't open semaphore"}
839
+ ,{ "SE4013", "Can't close semaphore"}
840
+ ,{ "SE4014", "Can't up semaphore"}
841
+ ,{ "SE4015", "Can't down semaphore"}
842
+ ,{ "SE4016", "Can't create shared memory"}
843
+ ,{ "SE4020", "Can't release shared memory"}
844
+ ,{ "SE4021", "Can't open shared memory"}
845
+ ,{ "SE4022", "Can't close shared memory"}
846
+ ,{ "SE4023", "Can't attach to shared memory"}
847
+ ,{ "SE4024", "Can't deattach from shared memory"}
848
+ ,{ "SE4025", "Can't create pipe"}
849
+ ,{ "SE4030", "Can't close pipe"}
850
+ ,{ "SE4031", "Can't read pipe"}
851
+ ,{ "SE4032", "Can't write pipe"}
852
+ ,{ "SE4040", "Can't create file"}
853
+ ,{ "SE4041", "Can't delete file"}
854
+ ,{ "SE4042", "Can't open file"}
855
+ ,{ "SE4043", "Can't close file"}
856
+ ,{ "SE4044", "Can't read file"}
857
+ ,{ "SE4045", "Can't write file"}
858
+ ,{ "SE4046", "Can't set file pointer"}
859
+ ,{ "SE4047", "Can't set end of file"}
860
+ ,{ "SE4048", "Can't create directory"}
861
+ ,{ "SE4049", "Can't copy file"}
862
+ ,{ "SE4050", "Can't get file size"}
863
+ ,{ "SE4051", "Can't get disk sector size"}
864
+ ,{ "SE4052", "Can't get unique file name"}
865
+ ,{ "SE4053", "Can't open directory"}
866
+ ,{ "SE4054", "Can't close directory"}
867
+ ,{ "SE4055", "Can't create directory"}
868
+ ,{ "SE4060", "Can't create thread"}
869
+ ,{ "SE4061", "Can't suspend thread"}
870
+ ,{ "SE4062", "Can't resume thread"}
871
+ ,{ "SE4063", "Can't close thread"}
872
+ ,{ "SE4064", "Can't exit thread"}
873
+ ,{ "SE4065", "Can't sleep thread"}
874
+ ,{ "SE4070", "Can't create process"}
875
+ ,{ "SE4071", "Can't terminate process"}
876
+ ,{ "SE4072", "Can't set environment variable"}
877
+ ,{ "SE4073", "Can't get environment variable"}
878
+ ,{ "SE4074", "Can't create memory mapping"}
879
+ ,{ "SE4075", "Can't release memory mapping"}
880
+ ,{ "SE4076", "Can't open memory mapping"}
881
+ ,{ "SE4077", "Can't close memory mapping"}
882
+ ,{ "SE4078", "Can't perform memory mapping"}
883
+ ,{ "SE4079", "Can't perform memory unmapping"}
884
+ ,{ "SE4080", "Can't set handles property"}
885
+ ,{ "SE4081", "Can't get process' image path"}
886
+ ,{ "SE4082", "Bad query encoding"}
887
+ ,{ "SE4083", "Can't read directory"}
888
+ ,{ "SE4150", "Logical log read buffer too small"}
889
+ ,{ "SE4151", "Too small shared memory size for logical log"}
890
+ ,{ "SE4152", "Bad parameters: start LSN less then end LSN"}
891
+ ,{ "SE4153", "Bad checkpoint record given"}
892
+ ,{ "SE4154", "Bad record from logical log given"}
893
+ ,{ "SE4155", "Bad transaction identifier given"}
894
+ ,{ "SE4200", "There is no database with the specified name"}
895
+ ,{ "SE4201", "Not Well-Formed Config file"}
896
+ ,{ "SE4202", "SM startup failure: SEDNA server is not running"}
897
+ ,{ "SE4203", "Can't send message via SSMMsg"}
898
+ ,{ "SE4204", "Database with the same name is already running"}
899
+ ,{ "SE4205", "Failed to run SM in the background mode (use '-background-mode off' for detailed diagnostics)"}
900
+ ,{ "SE4206", "Failed to initialize system parameters "}
901
+ ,{ "SE4207", "Failed to set up ctrl handler "}
902
+ ,{ "SE4208", "Failed to shutdown SM: SEDNA server is not running"}
903
+ ,{ "SE4209", "Failed to shutdown SM"}
904
+ ,{ "SE4210", "Error waiting for checkpoint thread to shutdown."}
905
+ ,{ "SE4211", "Failed to create the database"}
906
+ ,{ "SE4212", "Database files format is incompatible with SEDNA binaries"}
907
+ ,{ "SE4300", "Path is not valid"}
908
+ ,{ "SE4301", "Can not initialize system structures"}
909
+ ,{ "SE4302", "Can not create persistent heap"}
910
+ ,{ "SE4303", "Can not allocate memory from persistent heap"}
911
+ ,{ "SE4304", "Can not close persistent heap"}
912
+ ,{ "SE4305", "Can not release system structures"}
913
+ ,{ "SE4306", "Can not back up PH"}
914
+ ,{ "SE4307", "Invalid database name."}
915
+ ,{ "SE4308", "Failed to drop a database"}
916
+ ,{ "SE4400", "SEDNA server is not running "}
917
+ ,{ "SE4401", "Failed to run GOVERNOR in the background mode (use '-background-mode off' for detailed diagnostics)"}
918
+ ,{ "SE4402", "Failed to run GOVERNOR"}
919
+ ,{ "SE4403", "Failed to set up ctrl handler for GOVERNOR"}
920
+ ,{ "SE4404", "Error occured during closing LISTENER"}
921
+ ,{ "SE4405", "Session can't be closed"}
922
+ ,{ "SE4406", "There is no any sign of the SEDNA server running in the system"}
923
+ ,{ "SE4408", "Failed to run GOVERNOR: SEDNA server is running"}
924
+ ,{ "SE4409", "Failed to open session: database is not started"}
925
+ ,{ "SE4410", "Can't rename last soft fault directory"}
926
+ ,{ "SE4411", "Can't set sedna data variable"}
927
+ ,{ "SE4412", "The number of database config files exceeds the maximum freshold"}
928
+ ,{ "SE4413", "Can't create session process"}
929
+ ,{ "SE4500", "bad logical record given from logical log"}
930
+ ,{ "SE4501", "Can't recover database by logical log"}
931
+ ,{ "SE4510", "Hot-backup utility error"}
932
+ ,{ "SE4600", "One of the command line argumets is too long"}
933
+ ,{ "SE4601", "Command line arguments are not correct"}
934
+ ,{ "SE4602", "Can't get current working directory absolute path"}
935
+ ,{ "SE4603", "Can't get absolute path to the file"}
936
+ ,{ "SE4604", "Can't change working directory"}
937
+ ,{ "SE4605", "Initialization of persistent heap failed"}
938
+ ,{ "SE4606", "Release of persistent heap failed"}
939
+ ,{ "SE4607", "Can't run transaction: system is busy"}
940
+ ,{ "SE4608", "Transaction is rolled back because server is stopping"}
941
+ ,{ "SE4609", "The database does not exist"}
942
+ ,{ "SE4610", "There is no transaction to commit."}
943
+ ,{ "SE4611", "There is no transaction to roll back."}
944
+ ,{ "SE4612", "Commit current transaction before beginning a new one."}
945
+ ,{ "SE4613", "Since version 0.6 se_trn is an internal process and cannot be run manually. Use se_term instead."}
946
+ ,{ "SE4614", "There is no next item of the user's query."}
947
+ ,{ "SE4615", "Begin transaction before executing a query."}
948
+ ,{ "SE4616", "Can't load a document because the session is loading another document. Finish current loading before beginning a new one."}
949
+ ,{ "SE4617", "Failed to set session option."}
950
+ ,{ "SE4618", "Failed to reset session options."}
951
+ ,{ "SE4700", "Unknown resource identifier type "}
952
+ ,{ "SE4701", "Internal Lock Manager error"}
953
+ ,{ "SE4702", "The resorce's name length is too long"}
954
+ ,{ "SE4703", "The transaction is a victim of deadlock resolution procedure"}
955
+ ,{ "SE4704", "Unknown reply from Lock Manager"}
956
+ ,{ "SE4705", "Deadlock is detected"}
957
+ ,{ "SE4706", "Cannot provide X-locks in RO-mode"}
958
+ ,{ "SE5000", "Unexpected number of arguments."}
959
+ ,{ "SE5001", "Prolog not found for query."}
960
+ ,{ "SE5002", "Body not found for query."}
961
+ ,{ "SE5003", "Empty or unexpected query."}
962
+ ,{ "SE5004", "Unexpected query."}
963
+ ,{ "SE5005", "Unexpected expression."}
964
+ ,{ "SE5006", "Operation not yet supported."}
965
+ ,{ "SE5008", "Unexpected namespace prefix."}
966
+ ,{ "SE5012", "Declaration not supported."}
967
+ ,{ "SE5014", "Not a constant."}
968
+ ,{ "SE5015", "Not a proper QName."}
969
+ ,{ "SE5016", "Unknown item type."}
970
+ ,{ "SE5017", "Not a name specifier."}
971
+ ,{ "SE5018", "Not a type declaration."}
972
+ ,{ "SE5019", "Improper list of formal parameters."}
973
+ ,{ "SE5020", "Not a valid variable name."}
974
+ ,{ "SE5021", "Not a return type declaration."}
975
+ ,{ "SE5022", "Not a function body."}
976
+ ,{ "SE5023", "Malformed variable name."}
977
+ ,{ "SE5026", "Type definition for constant not found."}
978
+ ,{ "SE5027", "Constant value is not compatible with the type definition."}
979
+ ,{ "SE5028", "Constant is not a proper QName."}
980
+ ,{ "SE5030", "Not a type specifier."}
981
+ ,{ "SE5032", "Not an anonimous function definition."}
982
+ ,{ "SE5033", "Too many arguments in a function."}
983
+ ,{ "SE5034", "DDO contains atomic values in its argument."}
984
+ ,{ "SE5035", "Not an ivar declaration."}
985
+ ,{ "SE5036", "No function name provided in the function call."}
986
+ ,{ "SE5040", "Empty or unexpected update operation."}
987
+ ,{ "SE5041", "Unknown update operation."}
988
+ ,{ "SE5042", "Insert is applied to a non-node type."}
989
+ ,{ "SE5043", "Rename is applied to a non-node type."}
990
+ ,{ "SE5044", "Delete is applied to a non-node type."}
991
+ ,{ "SE5045", "Empty or unexpected manage operation."}
992
+ ,{ "SE5046", "Unknown manage operation."}
993
+ ,{ "SE5047", "Empty or unexpected metadata operation."}
994
+ ,{ "SE5048", "Unknown metadata operation."}
995
+ ,{ "SE5049", "Not a structural XPath supplied."}
996
+ ,{ "SE5050", "Unknown mode supplied for index-scan function call."}
997
+ ,{ "SE5051", "Unknown range specified for index-scan-between function call."}
998
+ ,{ "SE5054", "Unexpected value of the boundary-space declaration."}
999
+ ,{ "SE5055", "Unknown option in XQuery prolog."}
1000
+ ,{ "SE5056", "Malformed cases supplied in a typeswitch operation."}
1001
+ ,{ "SE5057", "No default case supplied for a typeswitch operation."}
1002
+ ,{ "SE5058", "Unexpected case for a typeswitch operation."}
1003
+ ,{ "SE5059", "Malformed default case for a typeswitch operation."}
1004
+ ,{ "SE5060", "Unexpected default empty order declaration in XQuery prolog."}
1005
+ ,{ "SE5061", "Malformed ascending/descending order declaration in order by clause."}
1006
+ ,{ "SE5062", "Malformed empty greatest / empty least declaration in order by clause."}
1007
+ ,{ "SE5063", "Malformed stable order by."}
1008
+ ,{ "SE5064", "Order modifier expected."}
1009
+ ,{ "SE5065", "Order specification expected."}
1010
+ ,{ "SE5066", "Orderspecs expected."}
1011
+ ,{ "SE5067", "Malformed name-value pair in Sedna-specific option declaration."}
1012
+ ,{ "SE5068", "Unknown key(s) given in se:output option."}
1013
+ ,{ "SE5069", "Empty option value for Sedna-specific option."}
1014
+ ,{ "SE5070", "Duplicate key entry in se:output option."}
1015
+ ,{ "SE5071", "Unknown value bound with a \"method\" key in se:output option."}
1016
+ ,{ "SE5072", "Unknown value bound with an \"indent\" key in se:output option."}
1017
+ ,{ "SE5073", "Unknown time specifier in CREATE TRIGGER statement. Expected: BEFORE or AFTER."}
1018
+ ,{ "SE5074", "Unknown event specifier in CREATE TRIGGER statement."}
1019
+ ,{ "SE5075", "Malformed list of statements in the DO-clause of CREATE TRIGGER statement."}
1020
+ ,{ "SE5076", "Unknown granularity specified in CREATE TRIGGER statement."}
1021
+ ,{ "SE5077", "Variable declaration expected."}
1022
+ ,{ "SE5078", "LibraryModule expected, given unexpected."}
1023
+ ,{ "SE5079", "Unexpected ModuleDecl supplied."}
1024
+ ,{ "SE5080", "Unknown full-text index type supplied for a CREATE FULL-TEXT INDEX statement."}
1025
+ ,{ "SE5081", "Ill-formed \"customized-value\" full-text index type provided."}
1026
+ ,{ "SE5100", "Error in Scheme part."}
1027
+ ,{ "SE5101", "Scheme part panic."}
1028
+ ,{ "SE5500", "An attempt to create a statement on a closed connection."}
1029
+ ,{ "SE5501", "Result item cannot be returned as a String because it is too large."}
1030
+ ,{ "SE5502", "Unsupported encoding."}
1031
+ ,{ "SE6000", "User statement is too large (maximum size allowed is 2 Mb)."}
1032
+ ,{ "SE9000", "User defined error"}
1033
+ ,{ "SE2039", "Invalid result of the second insert argument: sequence contains non-persistent or document nodes"}
1034
+ ,{ "SE3207", "XPath expression after the 'ON' keyword is invalid."}
1035
+ ,{ "SE3208", "The trigger variable is used but undefined in this context."}
1036
+ ,{ "SE3209", "It is prohibited to use trigger variables in statement-level triggers."}
1037
+ ,{ "SE4619", "Unknown session option."}
1038
+ ,{ "SE3210", "Trigger action in a node-level trigger must end with an XQuery query."}
1039
+ ,{ "SE3211", "No trigger with this name."}
1040
+ ,{ "SE2040", "Too many childs by schema."}
1041
+ ,{ "SE4620", "Transaction has been rolled back due to timeout or hard stop request."}
1042
+ ,{ "SE4801", "Cannot initialize wu."}
1043
+ ,{ "SE4802", "Cannot release wu."}
1044
+ ,{ "SE2041", "Result is cut, because its size exceeds max allowed size (set by client)."}
1045
+ ,{ "SE4901", "Internal LFS error."}
1046
+ ,{ "SE4902", "Internal LL error."}
1047
+ ,{ "SE4903", "Hot-backup error."}
1048
+ ,{ "SE4621", "Property is unknown."}
1049
+ ,{ "SE4622", "This statement is not supported because Sedna' database security level is \"authentication\". (To support this statement create database with -db-security option \"authorization\".)"}
1050
+ ,{ "SE5200", "Internal Runtime Configuration utility error"}
1051
+ ,{ "SE4623", "Cannot set keep alive session timeout"}
1052
+ ,{ "SE4624", "Session was closed since keep alive timeout has been expired"}
1053
+ ,{ "SE3081", "Can't open file with long query to execute"}
1054
+ ,{ "XQDY0096", "It is a dynamic error the node-name of a node constructed by a computed element constructor has any of the following properties: its namespace prefix is xmlns, its namespace URI is http://www.w3.org/2000/xmlns/, its namespace prefix is xml and its namespace URI is not http://www.w3.org/XML/1998/namespace, its namespace prefix is other than xml and its namespace URI is http://www.w3.org/XML/1998/namespace."}
1055
+ };
1056
+ }