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,34 @@
1
+ #
2
+ # Makefile for errdbg (GNU make)
3
+ #
4
+
5
+ PP = ../../..
6
+
7
+ include $(PP)/Makefile.include
8
+
9
+ OBJS = assert$(OBJ_EXT) d_printf$(OBJ_EXT) event_log$(OBJ_EXT) \
10
+ exceptions$(OBJ_EXT) error_codes$(OBJ_EXT)
11
+
12
+ GENERATED = error_codes.h error_codes.c error_codes_scm.scm ErrorCodes.java
13
+ CUSTOM_CLEAN = clean_generated
14
+
15
+ include $(PP)/Makefile.pseudolib
16
+
17
+ ################################################################################
18
+ # generated #
19
+ ################################################################################
20
+ generated: gen_error_codes$(EXE_EXT) error.codes
21
+ ./gen_error_codes$(EXE_EXT)
22
+ touch generated
23
+
24
+ gen_error_codes$(EXE_EXT): gen_error_codes$(OBJ_EXT)
25
+ $(LD) $(LFLAGS_NOLIB) $(LDOUT)$@ $^
26
+
27
+ gen_error_codes$(OBJ_EXT): gen_error_codes.c
28
+ $(CC) $(CFLAGS) $<
29
+
30
+ ################################################################################
31
+ # Clean #
32
+ ################################################################################
33
+ clean_generated:
34
+ -$(REMOVE) error_codes.h error_codes.c gen_error_codes$(EXE_EXT) error_codes_scm.scm ErrorCodes.java
@@ -0,0 +1,133 @@
1
+ /*
2
+ * File: assert.c
3
+ *
4
+ * Portions Copyright (C) 2006 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
5
+ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
6
+ * Portions Copyright (c) 1994, Regents of the University of California
7
+ */
8
+
9
+
10
+ #include "common/sedna.h"
11
+ #include "common/errdbg/event_log.h"
12
+ #include "common/u/uhdd.h"
13
+ #include "common/u/uprocess.h"
14
+ #if (defined(EL_DEBUG) && (EL_DEBUG == 1))
15
+ #include "common/st/stacktrace.h"
16
+ #ifdef _WIN32
17
+ #include <dbghelp.h>
18
+ #include <shellapi.h>
19
+ #include <shlobj.h>
20
+ #endif
21
+ #endif
22
+
23
+ /*
24
+ * se_ExceptionalCondition - Handles the failure of an SE_ASSERT()
25
+ */
26
+ int se_ExceptionalCondition(const char *conditionName,
27
+ const char *errorType,
28
+ const char *fileName,
29
+ int lineNumber)
30
+ {
31
+ char buf[SEDNA_DATA_VAR_SIZE + 128];
32
+ char log_buf[1024];
33
+ int res, bytes_written = 0;
34
+ UFile a_fh;
35
+
36
+ if ( !PointerIsValid(conditionName)
37
+ || !PointerIsValid(fileName)
38
+ || !PointerIsValid(errorType))
39
+ fprintf(stderr, "TRAP: ExceptionalCondition: bad arguments\n");
40
+ else
41
+ {
42
+ fprintf(stderr, "TRAP: %s(\"%s\", File: \"%s\", Line: %d)\n",
43
+ errorType, conditionName,
44
+ fileName, lineNumber);
45
+ }
46
+
47
+ strcpy(buf, SEDNA_DATA);
48
+ #ifdef _WIN32
49
+ strcat(buf, "\\data\\");
50
+ #else
51
+ strcat(buf, "/data/");
52
+ #endif
53
+ if (uMkDir(buf, NULL, NULL) == 0)
54
+ fprintf(stderr, "Cannot create data directory for soft fault logs\n");
55
+
56
+ strcat(buf, SE_LAST_SOFT_FAULT_DIR);
57
+
58
+ if (uMkDir(buf, NULL, NULL) == 0)
59
+ fprintf(stderr, "Cannot create directory for soft fault logs\n");
60
+
61
+
62
+ #ifdef _WIN32
63
+ strcat(buf, "\\");
64
+ #else
65
+ strcat(buf, "/");
66
+ #endif
67
+ strcat(buf, SE_ASSERT_FAILED_FILE_NAME);
68
+
69
+ #if (defined(EL_DEBUG) && (EL_DEBUG == 1))
70
+ #ifdef _WIN32
71
+ strcat(buf, ".dmp");
72
+ a_fh = uCreateFile(buf, U_SHARE_READ | U_SHARE_WRITE, U_READ_WRITE, U_WRITE_THROUGH, NULL, NULL);
73
+ if (a_fh == U_INVALID_FD)
74
+ fprintf(stderr, "Can't create assert_failed.dmp file\n");
75
+ else
76
+ {
77
+ MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), a_fh, MiniDumpWithDataSegs, NULL, NULL, NULL);
78
+ uCloseFile(a_fh, NULL);
79
+ }
80
+ buf[strlen(buf)-4] = 0;
81
+ #endif
82
+ #endif
83
+
84
+ a_fh = uCreateFile(buf, U_SHARE_READ | U_SHARE_WRITE, U_READ_WRITE, U_WRITE_THROUGH, NULL, NULL);
85
+ if (a_fh == U_INVALID_FD)
86
+ fprintf(stderr, "Can't create assert_failed file\n");
87
+ else
88
+ {
89
+ char log_buf[1024];
90
+ if ( !PointerIsValid(conditionName)
91
+ || !PointerIsValid(fileName)
92
+ || !PointerIsValid(errorType)
93
+ || strlen(errorType) + strlen(fileName) + strlen(conditionName) > 900)
94
+ {
95
+ sprintf(log_buf, "TRAP: ExceptionalCondition: bad arguments or overflow, process: %d\n", uGetCurrentProcessId(NULL));
96
+ }
97
+ else
98
+ {
99
+ sprintf(log_buf, "TRAP: %s(\"%s\", File: \"%s\", Line: %d, Process: %d)\n",
100
+ errorType, conditionName,
101
+ fileName, lineNumber, uGetCurrentProcessId(NULL));
102
+ }
103
+
104
+ res = uWriteFile(a_fh, log_buf, strlen(log_buf), &bytes_written, NULL);
105
+ if (res == 0 || bytes_written != strlen(log_buf))
106
+ {
107
+ fprintf(stderr, "Cannot write to assert_failed file");
108
+ }
109
+
110
+ #if (defined(EL_DEBUG) && (EL_DEBUG == 1))
111
+ if (StackTraceInit() != 0)
112
+ {
113
+ StackTraceWriteFd(NULL, (intptr_t)a_fh, 9999, 1);
114
+ StackTraceDeinit();
115
+ }
116
+ else
117
+ fprintf(stderr, "StackTraceInit() failed\n");
118
+ #endif
119
+
120
+ uCloseFile(a_fh, NULL);
121
+ }
122
+
123
+ #ifdef SE_SLEEP_ON_ASSERT
124
+ /*
125
+ * Sleep for 10 days. It should be enough to find out the problem.
126
+ */
127
+ uSleep(86400 * 10, __sys_call_error);
128
+ #endif
129
+
130
+ sedna_soft_fault(EL_UNK);
131
+
132
+ return 0;
133
+ }
@@ -0,0 +1,150 @@
1
+ /*
2
+ * File: d_printf.c
3
+ * Copyright (C) 2005 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
4
+ */
5
+
6
+ #include "common/errdbg/d_printf.h"
7
+
8
+
9
+ int el_debug_printf(const char *s, ...)
10
+ {
11
+ #ifdef EL_DEBUG_SYNC
12
+ va_list ap;
13
+ int res = 0;
14
+
15
+ el_debug_sync_lock();
16
+
17
+ va_start(ap, s);
18
+ if (SEDNA_EL_DEBUG_DUPLICATE_TO_STDERR)
19
+ {
20
+ res = vfprintf(stderr, s, ap);
21
+ if (res < 0)
22
+ goto el_debug_printf_exit;
23
+ }
24
+
25
+ if (el_debug_sync_output_stream)
26
+ {
27
+ res = fseek(el_debug_sync_output_stream, 0, SEEK_END);
28
+ if (res < 0)
29
+ goto el_debug_printf_exit;
30
+
31
+ res = vfprintf(el_debug_sync_output_stream, s, ap);
32
+ }
33
+
34
+ el_debug_printf_exit:
35
+ va_end(ap);
36
+ el_debug_sync_unlock();
37
+
38
+ return res;
39
+ #else
40
+ va_list ap;
41
+ int res = 0;
42
+
43
+ va_start(ap, s);
44
+ res = vfprintf(stderr, s, ap);
45
+ va_end(ap);
46
+
47
+ return res;
48
+ #endif
49
+ }
50
+
51
+ void el_debug_perror(const char *s)
52
+ {
53
+ #ifdef EL_DEBUG_SYNC
54
+ el_debug_sync_lock();
55
+
56
+ if (SEDNA_EL_DEBUG_DUPLICATE_TO_STDERR)
57
+ uperror(s);
58
+
59
+ if (el_debug_sync_output_stream)
60
+ {
61
+ int res = fseek(el_debug_sync_output_stream, 0, SEEK_END);
62
+ if (res < 0)
63
+ goto el_debug_perror_exit;
64
+
65
+ res = fprintf(stderr, "%s: %s\n", s, ustrerror(errno));
66
+ }
67
+
68
+ el_debug_perror_exit:
69
+ el_debug_sync_unlock();
70
+ #else
71
+ uperror(s);
72
+ #endif
73
+ }
74
+
75
+ void el_debug_flush()
76
+ {
77
+ #ifdef EL_DEBUG_SYNC
78
+ el_debug_sync_lock();
79
+
80
+ if (SEDNA_EL_DEBUG_DUPLICATE_TO_STDERR)
81
+ {
82
+ fflush(stderr);
83
+ }
84
+
85
+ if (el_debug_sync_output_stream)
86
+ {
87
+ fflush(el_debug_sync_output_stream);
88
+ }
89
+ el_debug_sync_unlock();
90
+ #else
91
+ /* to improve peformance we should leave the body empty */
92
+ #endif
93
+ }
94
+
95
+ #ifdef EL_DEBUG_SYNC
96
+
97
+ FILE *el_debug_sync_output_stream = NULL;
98
+ #ifdef _WIN32
99
+ HANDLE el_debug_sync_sem = (HANDLE) 0;
100
+ #endif
101
+
102
+ void el_debug_sync_release()
103
+ {
104
+ #ifdef _WIN32
105
+ if (el_debug_sync_sem)
106
+ CloseHandle(el_debug_sync_sem);
107
+
108
+ el_debug_sync_sem = (HANDLE) 0;
109
+ #endif
110
+
111
+ if (el_debug_sync_output_stream)
112
+ {
113
+ fclose(el_debug_sync_output_stream);
114
+ el_debug_sync_output_stream = NULL;
115
+ }
116
+ }
117
+
118
+ void el_debug_sync_lock()
119
+ {
120
+ if (!el_debug_sync_output_stream)
121
+ {
122
+ el_debug_sync_output_stream = fopen(SEDNA_EL_DEBUG_FILE_NAME, "a");
123
+ }
124
+
125
+ #ifdef _WIN32
126
+ if (!el_debug_sync_sem)
127
+ {
128
+ el_debug_sync_sem = CreateSemaphore(NULL, 1, 1, SEDNA_EL_DEBUG_SEMAPHORE_NAME);
129
+ }
130
+
131
+ if (el_debug_sync_sem)
132
+ {
133
+ DWORD res;
134
+ res = WaitForSingleObject(el_debug_sync_sem, INFINITE);
135
+ }
136
+ #endif
137
+ }
138
+
139
+ void el_debug_sync_unlock()
140
+ {
141
+ #ifdef _WIN32
142
+ if (el_debug_sync_sem)
143
+ {
144
+ BOOL res;
145
+ res = ReleaseSemaphore(el_debug_sync_sem, 1, NULL);
146
+ }
147
+ #endif
148
+ }
149
+
150
+ #endif
@@ -0,0 +1,91 @@
1
+ /*
2
+ * File: d_printf.h
3
+ * Copyright (C) 2004 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
4
+ */
5
+
6
+
7
+ #ifndef _D_PRINTF_H
8
+ #define _D_PRINTF_H
9
+
10
+ //#define EL_DEBUG_SYNC
11
+
12
+ #include "common/sedna.h"
13
+
14
+ #ifdef EL_DEBUG
15
+ # if (EL_DEBUG == 1)
16
+ # define D_PRINTF(ARGS) el_debug_printf ARGS
17
+ # define d_printf1(s1) el_debug_printf(s1)
18
+ # define d_printf2(s1, s2) el_debug_printf(s1, s2)
19
+ # define d_printf3(s1, s2, s3) el_debug_printf(s1, s2, s3)
20
+ # define d_printf4(s1, s2, s3, s4) el_debug_printf(s1, s2, s3, s4)
21
+ # define d_printf5(s1, s2, s3, s4, s5) el_debug_printf(s1, s2, s3, s4, s5)
22
+ # define d_printf6(s1, s2, s3, s4, s5, s6) el_debug_printf(s1, s2, s3, s4, s5, s6)
23
+ # define d_perror(s) el_debug_perror(s)
24
+ # define d_flush() el_debug_flush()
25
+ # define ASSERT U_ASSERT
26
+ # else
27
+ # define D_PRINTF(ARGS) (void)0
28
+ # define d_printf1(s1) 0
29
+ # define d_printf2(s1, s2) 0
30
+ # define d_printf3(s1, s2, s3) 0
31
+ # define d_printf4(s1, s2, s3, s4) 0
32
+ # define d_printf5(s1, s2, s3, s4, s5) 0
33
+ # define d_printf6(s1, s2, s3, s4, s5, s6) 0
34
+ # define d_perror(s) 0
35
+ # define d_flush() 0
36
+ # define ASSERT(x) 0
37
+ # endif
38
+ #else
39
+ # define D_PRINTF(ARGS) (void)0
40
+ # define d_printf1(s1) 0
41
+ # define d_printf2(s1, s2) 0
42
+ # define d_printf3(s1, s2, s3) 0
43
+ # define d_printf4(s1, s2, s3, s4) 0
44
+ # define d_printf5(s1, s2, s3, s4, s5) 0
45
+ # define d_printf6(s1, s2, s3, s4, s5, s6) 0
46
+ # define d_perror(s) 0
47
+ # define d_flush() 0
48
+ # define ASSERT(x) 0
49
+ #endif
50
+
51
+ #ifdef DEBUG_TRACE
52
+ # define U_TRACE(P) do { el_debug_printf("[%s:%s:%d]", __FILE__, __FUNCTION__, __LINE__); el_debug_printf P;} while (0)
53
+ #else
54
+ # define U_TRACE(P)
55
+ #endif
56
+
57
+ #ifdef __cplusplus
58
+ extern "C"
59
+ {
60
+ #endif
61
+
62
+
63
+ int el_debug_printf(const char *s, ...);
64
+ void el_debug_perror(const char *s);
65
+ void el_debug_flush();
66
+
67
+
68
+ #ifdef EL_DEBUG_SYNC
69
+
70
+ #define SEDNA_EL_DEBUG_SEMAPHORE_NAME "SEDNA_EL_DEBUG_SEMAPHORE_NAME"
71
+ #define SEDNA_EL_DEBUG_FILE_NAME "se_debug_log"
72
+ #define SEDNA_EL_DEBUG_DUPLICATE_TO_STDERR 1
73
+
74
+ extern FILE *el_debug_sync_output_stream;
75
+ #ifdef _WIN32
76
+ extern HANDLE el_debug_sync_sem;
77
+ #endif
78
+
79
+ void el_debug_sync_lock();
80
+ void el_debug_sync_unlock();
81
+
82
+
83
+ #endif
84
+
85
+
86
+ #ifdef __cplusplus
87
+ }
88
+ #endif
89
+
90
+
91
+ #endif
@@ -0,0 +1,1743 @@
1
+ ###############################################################################
2
+ ## This file contains description of user error codes (according to the
3
+ ## classification in exceptions.h).
4
+ ## This file is processed sequentially line by line according to the following
5
+ ## instructions:
6
+ ## 1. blank lines are ignored if they are not in error record (see what is
7
+ ## the error record below);
8
+ ## 2. lines starting with '#' are treated as comments (if they are not in
9
+ ## error records) and ignored
10
+ ## 3. any other line is treated as a beginning of an error record, which
11
+ ## consists of three lines. The first line is the error code (for instance,
12
+ ## "sedna-err:SE1000"). The second line consists of command that specify
13
+ ## what to do in case of this error (format is under development and now
14
+ ## this string is simply ignored). The third line consists of the textual
15
+ ## description of the error
16
+ ## Note! If you want to add a new error put it to the end of the file
17
+ ###############################################################################
18
+
19
+
20
+
21
+ ###############################################################################
22
+ ## User Environment error (according to the classification in exceptions.h)
23
+ ## Important: this error must be the first error defined in this file;
24
+ ###############################################################################
25
+ sedna-err:SE1000
26
+
27
+ Environment error. This error is caused by environment (operating system).
28
+
29
+
30
+ ###############################################################################
31
+ ## XQuery/XPath errors
32
+ ## These are errors from XQuery specification (do not edit them until the
33
+ ## specification changes)
34
+ ###############################################################################
35
+
36
+ err:XPST0001
37
+
38
+ 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.
39
+ err:XPDY0002
40
+
41
+ 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.
42
+ err:XPST0003
43
+
44
+ It is a static error if an expression is not a valid instance of the grammar defined in A.1 EBNF.
45
+ err:XPTY0004
46
+
47
+ 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.
48
+ err:XPST0005
49
+
50
+ 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().
51
+ err:XPTY0006
52
+
53
+ (Not currently used.)
54
+ err:XPTY0007
55
+
56
+ (Not currently used.)
57
+ err:XPST0008
58
+
59
+ 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.
60
+ err:XQST0009
61
+
62
+ An implementation that does not support the Schema Import Feature must raise a static error if a Prolog contains a schema import.
63
+ err:XPST0010
64
+
65
+ An implementation must raise a static error if it encounters a reference to an axis that it does not support.
66
+ err:XQST0012
67
+
68
+ 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.
69
+ err:XQST0013
70
+
71
+ It is a static error if an implementation recognizes a pragma but determines that its content is invalid.
72
+ err:XQST0014
73
+
74
+ (Not currently used.)
75
+ err:XQST0015
76
+
77
+ (Not currently used.)
78
+ err:XQST0016
79
+
80
+ An implementation that does not support the Module Feature raises a static error if it encounters a module declaration or a module import.
81
+ err:XPST0017
82
+
83
+ 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.
84
+ err:XPTY0018
85
+
86
+ It is a type error if the result of the last step in a path expression contains both nodes and atomic values.
87
+ err:XPTY0019
88
+
89
+ It is a type error if the result of a step (other than the last step) in a path expression contains an atomic value.
90
+ err:XPTY0020
91
+
92
+ It is a type error if, in an axis step, the context item is not a node.
93
+ err:XPDY0021
94
+
95
+ (Not currently used.)
96
+ err:XQST0022
97
+
98
+ It is a static error if the value of a namespace declaration attribute is not a URILiteral.
99
+ err:XQTY0023
100
+
101
+ (Not currently used.)
102
+ err:XQTY0024
103
+
104
+ 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.
105
+ err:XQDY0025
106
+
107
+ 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.
108
+ err:XQDY0026
109
+
110
+ It is a dynamic error if the result of the content expression of a computed processing instruction constructor contains the string "?>".
111
+ err:XQDY0027
112
+
113
+ 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.
114
+ err:XQTY0028
115
+
116
+ (Not currently used.)
117
+ err:XQDY0029
118
+
119
+ (Not currently used.)
120
+ err:XQTY0030
121
+
122
+ It is a type error if the argument of a validate expression does not evaluate to exactly one document or element node.
123
+ err:XQST0031
124
+
125
+ It is a static error if the version number specified in a version declaration is not supported by the implementation.
126
+ err:XQST0032
127
+
128
+ A static error is raised if a Prolog contains more than one base URI declaration.
129
+ err:XQST0033
130
+
131
+ It is a static error if a Prolog contains multiple declarations for the same namespace prefix.
132
+ err:XQST0034
133
+
134
+ 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).
135
+ err:XQST0035
136
+
137
+ 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.
138
+ err:XQST0036
139
+
140
+ 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.
141
+ err:XQST0037
142
+
143
+ (Not currently used.)
144
+ err:XQST0038
145
+
146
+ 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.
147
+ err:XQST0039
148
+
149
+ It is a static error for a function declaration to have more than one parameter with the same name.
150
+ err:XQST0040
151
+
152
+ It is a static error if the attributes specified by a direct element constructor do not have distinct expanded QNames.
153
+ err:XQDY0041
154
+
155
+ 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.
156
+ err:XQST0042
157
+
158
+ (Not currently used.)
159
+ err:XQST0043
160
+
161
+ (Not currently used.)
162
+ err:XQDY0044
163
+
164
+ 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.
165
+ err:XQST0045
166
+
167
+ 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.
168
+ err:XQST0046
169
+
170
+ 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].
171
+ err:XQST0047
172
+
173
+ It is a static error if multiple module imports in the same Prolog specify the same target namespace.
174
+ err:XQST0048
175
+
176
+ 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.
177
+ err:XQST0049
178
+
179
+ 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.)
180
+ err:XPDY0050
181
+
182
+ 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().
183
+ err:XPST0051
184
+
185
+ 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.
186
+ err:XQDY0052
187
+
188
+ (Not currently used.)
189
+ err:XQST0053
190
+
191
+ (Not currently used.)
192
+ err:XQST0054
193
+
194
+ 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).
195
+ err:XQST0055
196
+
197
+ It is a static error if a Prolog contains more than one copy-namespaces declaration.
198
+ err:XQST0056
199
+
200
+ (Not currently used.)
201
+ err:XQST0057
202
+
203
+ 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.
204
+ err:XQST0058
205
+
206
+ It is a static error if multiple schema imports specify the same target namespace.
207
+ err:XQST0059
208
+
209
+ 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.
210
+ err:XQST0060
211
+
212
+ 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).
213
+ err:XQDY0061
214
+
215
+ 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.
216
+ err:XQDY0062
217
+
218
+ (Not currently used.)
219
+ err:XQST0063
220
+
221
+ (Not currently used.)
222
+ err:XQDY0064
223
+
224
+ 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).
225
+ err:XQST0065
226
+
227
+ A static error is raised if a Prolog contains more than one ordering mode declaration.
228
+ err:XQST0066
229
+
230
+ 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.
231
+ err:XQST0067
232
+
233
+ A static error is raised if a Prolog contains more than one construction declaration.
234
+ err:XQST0068
235
+
236
+ A static error is raised if a Prolog contains more than one boundary-space declaration.
237
+ err:XQST0069
238
+
239
+ A static error is raised if a Prolog contains more than one empty order declaration.
240
+ err:XQST0070
241
+
242
+ 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/.
243
+ err:XQST0071
244
+
245
+ A static error is raised if the namespace declaration attributes of a direct element constructor do not have distinct names.
246
+ err:XQDY0072
247
+
248
+ 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.
249
+ err:XQST0073
250
+
251
+ 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.
252
+ err:XQDY0074
253
+
254
+ 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.)
255
+ err:XQST0075
256
+
257
+ An implementation that does not support the Validation Feature must raise a static error if it encounters a validate expression.
258
+ err:XQST0076
259
+
260
+ 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.
261
+ err:XQST0077
262
+
263
+ (Not currently used.)
264
+ err:XQST0078
265
+
266
+ (Not currently used.)
267
+ err:XQST0079
268
+
269
+ 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.
270
+ err:XPST0080
271
+
272
+ 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.
273
+ err:XPST0081
274
+
275
+ 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.
276
+ err:XQST0082
277
+
278
+ (Not currently used.)
279
+ err:XPST0083
280
+
281
+ (Not currently used.)
282
+ err:XQDY0084
283
+
284
+ 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.
285
+ err:XQST0085
286
+
287
+ 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].
288
+ err:XQTY0086
289
+
290
+ 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.
291
+ err:XQST0087
292
+
293
+ 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].
294
+ err:XQST0088
295
+
296
+ 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.
297
+ err:XQST0089
298
+
299
+ 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).
300
+ err:XQST0090
301
+
302
+ It is a static error if a character reference does not identify a valid character in the version of XML that is in use.
303
+ err:XQST0093
304
+
305
+ 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.
306
+
307
+ ###############################################################################
308
+ ## XQuery/XPath Functions and Operators errors
309
+ ###############################################################################
310
+ err:FOER0000
311
+
312
+ Unidentified error.
313
+ err:FOAR0001
314
+
315
+ Division by zero. This error is raised whenever an attempt is made to divide by zero.
316
+
317
+ err:FOAR0002
318
+
319
+ Numeric operation overflow/underflow. This error is raised whenever numeric operations result in an overflow or underflow.
320
+ err:FOCA0001
321
+
322
+ Input value too large for decimal.
323
+
324
+ err:FOCA0002
325
+
326
+ Invalid lexical value.
327
+ err:FOCA0003
328
+
329
+ Input value too large for integer.
330
+ err:FOCA0005
331
+
332
+ NaN supplied as float/double value.
333
+ err:FOCA0006
334
+
335
+ String to be cast to decimal has too many digits of precision.
336
+ err:FOCH0001
337
+
338
+ Code point not valid.
339
+ err:FOCH0002
340
+
341
+ Unsupported collation.
342
+ err:FOCH0003
343
+
344
+ Unsupported normalization form.
345
+ err:FOCH0004
346
+
347
+ Collation does not support collation units.
348
+ err:FODC0001
349
+
350
+ No context document.
351
+ err:FODC0002
352
+
353
+ Error retrieving resource.
354
+ err:FODC0003
355
+
356
+ Function stability not defined.
357
+ err:FODC0004
358
+
359
+ Invalid argument to fn:collection.
360
+ err:FODC0005
361
+
362
+ Invalid argument to fn:doc.
363
+ err:FODT0001
364
+
365
+ Overflow/underflow in date/time operation.
366
+ err:FODT0002
367
+
368
+ Overflow/underflow in duration operation.
369
+ err:FODT0003
370
+
371
+ Invalid timezone value.
372
+
373
+ err:FONS0004
374
+
375
+ No namespace found for prefix.
376
+ err:FONS0005
377
+
378
+ Base-uri not defined in the static context.
379
+ err:FORG0001
380
+
381
+ Invalid value for cast/constructor.
382
+ err:FORG0002
383
+
384
+ Invalid argument to URL resolve algorithm.
385
+ err:FORG0003
386
+
387
+ fn:zero-or-one called with a sequence containing more than one item.
388
+ err:FORG0004
389
+
390
+ fn:one-or-more called with a sequence containing no items.
391
+ err:FORG0005
392
+
393
+ fn:exactly-one called with a sequence containing zero or more than one item.
394
+ err:FORG0006
395
+
396
+ Invalid argument type.
397
+ err:FORG0008
398
+
399
+ Both arguments to fn:dateTime have a specified timezone.
400
+ err:FORG0009
401
+
402
+ Error in resolving a relative URI against a base URI in fn:resolve-uri.
403
+ err:FORX0001
404
+
405
+ Invalid regular expression flags.
406
+ err:FORX0002
407
+
408
+ Invalid regular expression.
409
+ err:FORX0003
410
+
411
+ Regular expression matches zero-length string.
412
+ err:FORX0004
413
+
414
+ Invalid replacement string.
415
+ err:FOTY0012
416
+
417
+ Argument node does not have a typed value.
418
+
419
+
420
+
421
+ ###############################################################################
422
+ ## Define other user errors here
423
+ ## Start from sedna-err:SE1001
424
+ ###############################################################################
425
+ sedna-err:SE1001
426
+
427
+ Physical plan executor stack overflow.
428
+ sedna-err:SE1002
429
+
430
+ Feature is not implemented.
431
+ sedna-err:SE1003
432
+
433
+ Sedna internal error.
434
+ sedna-err:SE1004
435
+
436
+ Wrong physical plan representation.
437
+ sedna-err:SE1005
438
+
439
+ Scheme parser error.
440
+ sedna-err:SE1006
441
+
442
+ No document with this name in the specified collection.
443
+ sedna-err:SE1007
444
+
445
+ Invalid position in fn:item-at.
446
+ sedna-err:SE1008
447
+
448
+ Sedna index subsystem error.
449
+ sedna-err:SE1009
450
+
451
+ Buffer overflow.
452
+
453
+
454
+
455
+
456
+ sedna-err:SE1011
457
+
458
+ Data file has reached its maximum size.
459
+ sedna-err:SE1012
460
+
461
+ Temporary file has reached its maximum size.
462
+ sedna-err:SE1013
463
+
464
+ Cannot extend data file.
465
+ sedna-err:SE1014
466
+
467
+ Cannot extend temporary file.
468
+ sedna-err:SE1015
469
+
470
+ There is no enough memory to initialize buffers.
471
+ sedna-err:SE1016
472
+
473
+ Cannot lock buffer memory.
474
+ sedna-err:SE1017
475
+
476
+ Cannot mount ramfs.
477
+ sedna-err:SE1018
478
+
479
+ Transaction with this id already exists.
480
+ sedna-err:SE1019
481
+
482
+ There is no transaction with this id.
483
+ sedna-err:SE1020
484
+
485
+ Transaction's limit on locked blocks in memory is exceeded.
486
+ sedna-err:SE1021
487
+
488
+ Cannot lock block in memory because it is not in memory.
489
+ sedna-err:SE1022
490
+
491
+ Cannot unlock block because it is not in memory.
492
+ sedna-err:SE1023
493
+
494
+ Unexpected arguments in call to SM.
495
+
496
+
497
+
498
+
499
+
500
+ sedna-err:SE1031
501
+
502
+ Cannot allocate enough address space segment.
503
+ sedna-err:SE1032
504
+
505
+ Error setting up alternate stack.
506
+ sedna-err:SE1033
507
+
508
+ Error setting up signal handler.
509
+ sedna-err:SE1034
510
+
511
+ Connection with SM lost.
512
+ sedna-err:SE1035
513
+
514
+ Memory mapping error.
515
+ sedna-err:SE1036
516
+
517
+ Cannot (un)swap blocks (address is out of bounds).
518
+ sedna-err:SE1037
519
+
520
+ Cannot open buffer memory.
521
+ sedna-err:SE1038
522
+
523
+ Cannot close buffer memory.
524
+ sedna-err:SE1039
525
+
526
+ Error waiting for VMM thread to shutdown.
527
+ sedna-err:SE1040
528
+
529
+ Cannot determine enough address space segment.
530
+
531
+
532
+
533
+
534
+ sedna-err:SE1051
535
+
536
+ Sedna query optimizer error.
537
+
538
+
539
+
540
+
541
+
542
+ sedna-err:SE1061
543
+
544
+ No index with this name.
545
+
546
+
547
+
548
+ sedna-err:SE1071
549
+
550
+ Expecting arguments of type xs:string.
551
+ sedna-err:SE1072
552
+
553
+ Modules to be loaded belong to different namespaces.
554
+ sedna-err:SE1073
555
+
556
+ Module with the given URI already loaded to the database.
557
+ sedna-err:SE1074
558
+
559
+ Unable to drop a module - no module with the given URI.
560
+
561
+
562
+
563
+
564
+
565
+ sedna-err:SE2001
566
+
567
+ Document with the same name already exists.
568
+ sedna-err:SE2002
569
+
570
+ Collection with the same name already exists.
571
+ sedna-err:SE2003
572
+
573
+ No collection with this name.
574
+ sedna-err:SE2004
575
+
576
+ Document with the same name already exists in the collection.
577
+ sedna-err:SE2005
578
+
579
+ Parse error at
580
+ sedna-err:SE2006
581
+
582
+ No document with this name.
583
+ sedna-err:SE2007
584
+
585
+ Left sibling is not an attribute
586
+ sedna-err:SE2008
587
+
588
+ Valid URI expected.
589
+ sedna-err:SE2009
590
+
591
+ Size of text should be greater then zero
592
+ sedna-err:SE2010
593
+
594
+ Invalid result of the delete undeep argument: sequence contains non-persistent or document nodes
595
+ sedna-err:SE2011
596
+
597
+ Invalid result of the delete argument: sequence contains atomic values
598
+ sedna-err:SE2012
599
+
600
+ Invalid result of the delete argument: sequence contains temporary nodes
601
+ sedna-err:SE2013
602
+
603
+ Invalid result of the second insert argument: sequence contains atomic values or temporary nodes
604
+ sedna-err:SE2014
605
+
606
+ Invalid result of the first insert argument: bad sequence of nodes
607
+ sedna-err:SE2015
608
+
609
+ Invalid result of the first insert argument: sequence contains atomic values
610
+ sedna-err:SE2016
611
+
612
+ Attempt to insert element before attribute
613
+ sedna-err:SE2017
614
+
615
+ Attempt to insert the node to it's descendant
616
+ sedna-err:SE2018
617
+
618
+ Invalid result of the second insert argument: sequence contains either attribute, namespace, comment, PI or temporary node
619
+ sedna-err:SE2019
620
+
621
+ Invalid result of the second insert argument: sequence contains atomic values
622
+ sedna-err:SE2020
623
+
624
+ Invalid result of the update argument: sequence contains atomic values or one of these nodes: tempory, text, comment,PI,namespace,document
625
+ sedna-err:SE2021
626
+
627
+ Invalid result of the update argument: sequence contains atomic values
628
+ sedna-err:SE2022
629
+
630
+ this node test is not yet implemented
631
+ sedna-err:SE2023
632
+
633
+ [nid_assign] The length of prefix exceeds PSTRMAXSIZE
634
+ sedna-err:SE2024
635
+
636
+ trying to store string exceeding maximum permited size
637
+ sedna-err:SE2025
638
+
639
+ checkTreeConsistency:Ancestor-descendant error
640
+ sedna-err:SE2026
641
+
642
+ checkTreeConsistency:First child pointer
643
+ sedna-err:SE2027
644
+
645
+ checkTreeConsistency:sibling pointer errors
646
+ sedna-err:SE2028
647
+
648
+ checkTreeConsistency:nid comparison error
649
+ sedna-err:SE2029
650
+
651
+ checkTreeConsistency:wrong descriptor's order
652
+ sedna-err:SE2030
653
+
654
+ checkTreeConsistency:Bad indirection table
655
+ sedna-err:SE2031
656
+
657
+ atomic value as input for test engine
658
+ sedna-err:SE2032
659
+
660
+ trying to create mixed content in the element whose value is used as key
661
+ sedna-err:SE2033
662
+
663
+ Index with the same name already exists.
664
+ sedna-err:SE2034
665
+
666
+ Invalid index type (xs:string, xs:integer, xs:float, xs:double, xs:date, xs:time, xs:dateTime, xs_yearMonthDuration, xs_dateTimeDuration are supported).
667
+ sedna-err:SE2035
668
+
669
+ Invalid mode in index_scan_between function
670
+ sedna-err:SE2036
671
+
672
+ Document node deletion is prohibited by this function use DROP DOCUMENT in metadata API
673
+ sedna-err:SE2037
674
+
675
+ The size of string is limited by 4 GB
676
+ sedna-err:SE2038
677
+
678
+ An attempt to insert attribute node after element
679
+ ########### sql ####################
680
+ sedna-err:SE2100
681
+
682
+ SQL:Bad connect option
683
+ sedna-err:SE2101
684
+
685
+ SQL:Bad handle
686
+ sedna-err:SE2102
687
+
688
+ SQL:Failed to get executor
689
+ sedna-err:SE2103
690
+
691
+ SQL:Unknown handle type
692
+ sedna-err:SE2104
693
+
694
+ SQL:Invalid handle type
695
+ sedna-err:SE2105
696
+
697
+ SQL:Failed to prepare statement
698
+ sedna-err:SE2106
699
+
700
+ SQL:Failed to execute prepared statement
701
+ sedna-err:SE2107
702
+
703
+ SQL:Not enough parameters for prepared statement
704
+ sedna-err:SE2108
705
+
706
+ SQL:Disconnect failed
707
+ sedna-err:SE2109
708
+
709
+ SQL:Commit failed
710
+ sedna-err:SE2110
711
+
712
+ SQL:Rollback failed
713
+ sedna-err:SE2111
714
+
715
+ SQL:Connect failed
716
+ sedna-err:SE2112
717
+
718
+ SQL:Execute failed
719
+ sedna-err:SE2113
720
+
721
+ SQL Connection support disabled
722
+
723
+ ########### udf ####################
724
+ sedna-err:SE2200
725
+
726
+ External function initialization error
727
+ sedna-err:SE2201
728
+
729
+ External function invocation error
730
+ sedna-err:SE2202
731
+
732
+ External function de-initialization error
733
+ sedna-err:SE2203
734
+
735
+ External function load error
736
+
737
+ ########### concerning sockets ####################
738
+ sedna-err:SE2999
739
+
740
+ Sedna Client-Server Protocol used in your application does not support this feature. Use protocol of recent version.
741
+
742
+ sedna-err:SE3000
743
+
744
+ Failed to clean up socket library.
745
+ sedna-err:SE3001
746
+
747
+ Failed to initialize a socket.
748
+ sedna-err:SE3002
749
+
750
+ Failed to get local host name.
751
+ sedna-err:SE3003
752
+
753
+ Failed to connect the host specified.
754
+ sedna-err:SE3004
755
+
756
+ Failed to bind the socket to the port specified.
757
+ sedna-err:SE3005
758
+
759
+ Failed to set the socket into the listening mode
760
+ sedna-err:SE3006
761
+
762
+ Failed to send a message.
763
+ sedna-err:SE3007
764
+
765
+ Failed to receive a message.
766
+ sedna-err:SE3008
767
+
768
+ Unknown message from server.
769
+ sedna-err:SE3009
770
+
771
+ Unknown message from client.
772
+ sedna-err:SE3010
773
+
774
+ Can't duplicate socket handle.
775
+
776
+ sedna-err:SE3011
777
+
778
+ Failed to close a socket.
779
+ sedna-err:SE3012
780
+
781
+ Message length exceeds available size.
782
+ sedna-err:SE3013
783
+
784
+ Can't get file from client to be loaded.
785
+ sedna-err:SE3014
786
+
787
+ Wrong client-server protocol version.
788
+ sedna-err:SE3015
789
+
790
+ Too long login/password/db_name.
791
+ sedna-err:SE3016
792
+
793
+ Failed to initialize socket library.
794
+
795
+ sedna-err:SE3017
796
+
797
+ Can't open file with data to load.
798
+ sedna-err:SE3018
799
+
800
+ Can't read file with data to load.
801
+ sedna-err:SE3019
802
+
803
+ Can't close file with data to load.
804
+ sedna-err:SE3020
805
+
806
+ Can't close tmp file.
807
+ sedna-err:SE3021
808
+
809
+ Can't delete tmp file.
810
+ sedna-err:SE3022
811
+
812
+ Invalid argument.
813
+ sedna-err:SE3023
814
+
815
+ dbname is too long.
816
+ sedna-err:SE3024
817
+
818
+ login is too long.
819
+ sedna-err:SE3025
820
+
821
+ password is too long.
822
+ sedna-err:SE3026
823
+
824
+ url is too long.
825
+ sedna-err:SE3027
826
+
827
+ Failed to set socket option.
828
+ sedna-err:SE3028
829
+
830
+ Connection with server is closed or have not been established yet.
831
+ sedna-err:SE3029
832
+
833
+ This function call is prohibited as the connection is in the autocommit mode.
834
+
835
+ ########### concerning sockets ####################
836
+
837
+
838
+ ########### concerning SSMMsg service ####################
839
+ sedna-err:SE3030
840
+
841
+ Failed to initialize SSMMsg service (message service).
842
+ sedna-err:SE3031
843
+
844
+ Failed to serve clients via SSMMsg service (message service).
845
+ sedna-err:SE3032
846
+
847
+ Failed to stop serve clients via SSMMsg service (message service).
848
+ sedna-err:SE3033
849
+
850
+ Failed to shutdown SSMMsg service (message service).
851
+ sedna-err:SE3034
852
+
853
+ Can't send message via SSMMsg
854
+ ########### conserning SSMMsg service ####################
855
+
856
+ ########### concerning connection with gov ####################
857
+
858
+ sedna-err:SE3040
859
+
860
+ Connection with Gov lost.
861
+ sedna-err:SE3043
862
+
863
+ Can not register session in Gov.
864
+ sedna-err:SE3044
865
+
866
+ Can not unregister session in Gov.
867
+ sedna-err:SE3045
868
+
869
+ Can not register SM in Gov.
870
+ sedna-err:SE3046
871
+
872
+ Can't create new session (sessions number exceeds permissible threshold )
873
+ sedna-err:SE3047
874
+
875
+ Can't open session (client failed to send authentication parameters on time)
876
+
877
+
878
+ ########### concerning connection with gov ####################
879
+
880
+ sedna-err:SE3051
881
+
882
+ Failed to set up ctrl handler.
883
+ sedna-err:SE3052
884
+
885
+ Failed to run se_trn process.
886
+ sedna-err:SE3053
887
+
888
+ Authentication failed.
889
+ sedna-err:SE3054
890
+
891
+ Can't run session: system is busy
892
+
893
+ ########### concerning security ####################
894
+ sedna-err:SE3060
895
+
896
+ Failed to create a new ACL.
897
+ sedna-err:SE3061
898
+
899
+ Failed to set DACL to the data file security descriptor.
900
+ sedna-err:SE3062
901
+
902
+ Failed to open process token.
903
+ sedna-err:SE3063
904
+
905
+ Failed to release ACL.
906
+ sedna-err:SE3064
907
+
908
+ 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).
909
+
910
+ sedna-err:SE3065
911
+
912
+ You do not have necessary privileges on this database object.
913
+
914
+ sedna-err:SE3066
915
+
916
+ Failed to process authorization.
917
+ sedna-err:SE3067
918
+
919
+ User name is not specified.
920
+ sedna-err:SE3068
921
+
922
+ This statement is not supported because Sedna' database security level is "off". (To support this statement create database with -db-security option "authentication".)
923
+
924
+ sedna-err:SE3069
925
+
926
+ Wrong privilege name.
927
+ sedna-err:SE3070
928
+
929
+ Multiple parameters parted by commas are not supported in the current version of Sedna.
930
+ sedna-err:SE3071
931
+
932
+ Failed to load authorization metadata.
933
+ sedna-err:SE3072
934
+
935
+ User does not have privilege.
936
+ sedna-err:SE3073
937
+
938
+ User is not allowed to grant this privilege.
939
+ sedna-err:SE3074
940
+
941
+ User is not allowed to grant this role.
942
+ sedna-err:SE3075
943
+
944
+ User is not allowed to revoke this privilege, or the grantee does not have this privilege.
945
+ sedna-err:SE3076
946
+
947
+ User is not allowed to revoke this role, or the grantee does not have this role.
948
+ sedna-err:SE3077
949
+
950
+ User is not allowed to alter specified user.
951
+ sedna-err:SE3078
952
+
953
+ User is not allowed to drop specified user.
954
+ sedna-err:SE3079
955
+
956
+ User with this name already exists.
957
+ sedna-err:SE3080
958
+
959
+ Role with this name already exists.
960
+
961
+
962
+ ########### concerning security ####################
963
+
964
+ ######################################################################
965
+ ### Triggers
966
+ ######################################################################
967
+ sedna-err:SE3200
968
+
969
+ Trigger with this name already exists.
970
+ sedna-err:SE3201
971
+
972
+ Failed to execute trigger action.
973
+ sedna-err:SE3202
974
+
975
+ Wrong trigger action parameter type.
976
+ sedna-err:SE3203
977
+
978
+ Trigger action results in an item that is not a node.
979
+ sedna-err:SE3204
980
+
981
+ Trigger action must always return a result.
982
+ sedna-err:SE3205
983
+
984
+ Trigger action tries to update a document/collection that is currently updating by the outer update statement.
985
+ sedna-err:SE3206
986
+
987
+ Cannot execute trigger action, since current cascade level exceeds permissible threshold.
988
+
989
+ ######################################################################
990
+ ### Static query analysis error
991
+ ######################################################################
992
+ sedna-err:SE4001
993
+
994
+ XQuery parser internal error.
995
+ sedna-err:SE4002
996
+
997
+ Unexpected type of the query given.
998
+
999
+ sedna-err:SE4003
1000
+
1001
+ Unexpected number of statements given
1002
+ sedna-err:SE4004
1003
+
1004
+ Scheme part unknown error
1005
+ sedna-err:SE4005
1006
+
1007
+ Invalid list after scheme processing
1008
+ sedna-err:SE4006
1009
+
1010
+ Static query analisis error
1011
+ sedna-err:SE4007
1012
+
1013
+ Too long statement
1014
+ sedna-err:SE4008
1015
+
1016
+ Wrong logical plan representation
1017
+ sedna-err:SE4009
1018
+
1019
+ Too long input query
1020
+
1021
+ ######################################################################
1022
+ ### OS primitives errors
1023
+ ######################################################################
1024
+ sedna-err:SE4010
1025
+
1026
+ Can't create semaphore
1027
+ sedna-err:SE4011
1028
+
1029
+ Can't release semaphore
1030
+ sedna-err:SE4012
1031
+
1032
+ Can't open semaphore
1033
+ sedna-err:SE4013
1034
+
1035
+ Can't close semaphore
1036
+ sedna-err:SE4014
1037
+
1038
+ Can't up semaphore
1039
+ sedna-err:SE4015
1040
+
1041
+ Can't down semaphore
1042
+ sedna-err:SE4016
1043
+
1044
+ Can't create shared memory
1045
+ sedna-err:SE4020
1046
+
1047
+ Can't release shared memory
1048
+ sedna-err:SE4021
1049
+
1050
+ Can't open shared memory
1051
+ sedna-err:SE4022
1052
+
1053
+ Can't close shared memory
1054
+ sedna-err:SE4023
1055
+
1056
+ Can't attach to shared memory
1057
+ sedna-err:SE4024
1058
+
1059
+ Can't deattach from shared memory
1060
+ sedna-err:SE4025
1061
+
1062
+ Can't create pipe
1063
+ sedna-err:SE4030
1064
+
1065
+ Can't close pipe
1066
+ sedna-err:SE4031
1067
+
1068
+ Can't read pipe
1069
+ sedna-err:SE4032
1070
+
1071
+ Can't write pipe
1072
+ sedna-err:SE4040
1073
+
1074
+ Can't create file
1075
+
1076
+ sedna-err:SE4041
1077
+
1078
+ Can't delete file
1079
+
1080
+ sedna-err:SE4042
1081
+
1082
+ Can't open file
1083
+ sedna-err:SE4043
1084
+
1085
+ Can't close file
1086
+ sedna-err:SE4044
1087
+
1088
+ Can't read file
1089
+ sedna-err:SE4045
1090
+
1091
+ Can't write file
1092
+ sedna-err:SE4046
1093
+
1094
+ Can't set file pointer
1095
+ sedna-err:SE4047
1096
+
1097
+ Can't set end of file
1098
+ sedna-err:SE4048
1099
+
1100
+ Can't create directory
1101
+ sedna-err:SE4049
1102
+
1103
+ Can't copy file
1104
+ sedna-err:SE4050
1105
+
1106
+ Can't get file size
1107
+ sedna-err:SE4051
1108
+
1109
+ Can't get disk sector size
1110
+ sedna-err:SE4052
1111
+
1112
+ Can't get unique file name
1113
+ sedna-err:SE4053
1114
+
1115
+ Can't open directory
1116
+ sedna-err:SE4054
1117
+
1118
+ Can't close directory
1119
+ sedna-err:SE4055
1120
+
1121
+ Can't create directory
1122
+ sedna-err:SE4060
1123
+
1124
+ Can't create thread
1125
+ sedna-err:SE4061
1126
+
1127
+ Can't suspend thread
1128
+ sedna-err:SE4062
1129
+
1130
+ Can't resume thread
1131
+ sedna-err:SE4063
1132
+
1133
+ Can't close thread
1134
+ sedna-err:SE4064
1135
+
1136
+ Can't exit thread
1137
+ sedna-err:SE4065
1138
+
1139
+ Can't sleep thread
1140
+ sedna-err:SE4070
1141
+
1142
+ Can't create process
1143
+ sedna-err:SE4071
1144
+
1145
+ Can't terminate process
1146
+ sedna-err:SE4072
1147
+
1148
+ Can't set environment variable
1149
+ sedna-err:SE4073
1150
+
1151
+ Can't get environment variable
1152
+ sedna-err:SE4074
1153
+
1154
+ Can't create memory mapping
1155
+ sedna-err:SE4075
1156
+
1157
+ Can't release memory mapping
1158
+ sedna-err:SE4076
1159
+
1160
+ Can't open memory mapping
1161
+ sedna-err:SE4077
1162
+
1163
+ Can't close memory mapping
1164
+ sedna-err:SE4078
1165
+
1166
+ Can't perform memory mapping
1167
+ sedna-err:SE4079
1168
+
1169
+ Can't perform memory unmapping
1170
+ sedna-err:SE4080
1171
+
1172
+ Can't set handles property
1173
+ sedna-err:SE4081
1174
+
1175
+ Can't get process' image path
1176
+ sedna-err:SE4082
1177
+
1178
+ Bad query encoding
1179
+ sedna-err:SE4083
1180
+
1181
+ Can't read directory
1182
+
1183
+
1184
+ ###########################################################################
1185
+ # Logical log errors
1186
+ ###########################################################################
1187
+ sedna-err:SE4150
1188
+
1189
+ Logical log read buffer too small
1190
+ sedna-err:SE4151
1191
+
1192
+ Too small shared memory size for logical log
1193
+ sedna-err:SE4152
1194
+
1195
+ Bad parameters: start LSN less then end LSN
1196
+ sedna-err:SE4153
1197
+
1198
+ Bad checkpoint record given
1199
+ sedna-err:SE4154
1200
+
1201
+ Bad record from logical log given
1202
+ sedna-err:SE4155
1203
+
1204
+ Bad transaction identifier given
1205
+
1206
+ ############################################################################
1207
+ # Storage Manager errors
1208
+ ############################################################################
1209
+ sedna-err:SE4200
1210
+
1211
+ There is no database with the specified name
1212
+ sedna-err:SE4201
1213
+
1214
+ Not Well-Formed Config file
1215
+ sedna-err:SE4202
1216
+
1217
+ SM startup failure: SEDNA server is not running
1218
+ sedna-err:SE4203
1219
+
1220
+ Can't send message via SSMMsg
1221
+ sedna-err:SE4204
1222
+
1223
+ Database with the same name is already running
1224
+ sedna-err:SE4205
1225
+
1226
+ Failed to run SM in the background mode (use '-background-mode off' for detailed diagnostics)
1227
+ sedna-err:SE4206
1228
+
1229
+ Failed to initialize system parameters
1230
+ sedna-err:SE4207
1231
+
1232
+ Failed to set up ctrl handler
1233
+ sedna-err:SE4208
1234
+
1235
+ Failed to shutdown SM: SEDNA server is not running
1236
+ sedna-err:SE4209
1237
+
1238
+ Failed to shutdown SM
1239
+ sedna-err:SE4210
1240
+
1241
+ Error waiting for checkpoint thread to shutdown.
1242
+ sedna-err:SE4211
1243
+
1244
+ Failed to create the database
1245
+ sedna-err:SE4212
1246
+
1247
+ Database files format is incompatible with SEDNA binaries
1248
+
1249
+ ############################################################################
1250
+ # Create and Drop DataBase Utilities errors
1251
+ ############################################################################
1252
+ sedna-err:SE4300
1253
+
1254
+ Path is not valid
1255
+ sedna-err:SE4301
1256
+
1257
+ Can not initialize system structures
1258
+ sedna-err:SE4302
1259
+
1260
+ Can not create persistent heap
1261
+ sedna-err:SE4303
1262
+
1263
+ Can not allocate memory from persistent heap
1264
+ sedna-err:SE4304
1265
+
1266
+ Can not close persistent heap
1267
+ sedna-err:SE4305
1268
+
1269
+ Can not release system structures
1270
+ sedna-err:SE4306
1271
+
1272
+ Can not back up PH
1273
+ sedna-err:SE4307
1274
+
1275
+ Invalid database name.
1276
+ sedna-err:SE4308
1277
+
1278
+ Failed to drop a database
1279
+
1280
+
1281
+ ############################################################################
1282
+ # Governor errors
1283
+ ############################################################################
1284
+
1285
+ sedna-err:SE4400
1286
+
1287
+ SEDNA server is not running
1288
+ sedna-err:SE4401
1289
+
1290
+ Failed to run GOVERNOR in the background mode (use '-background-mode off' for detailed diagnostics)
1291
+ sedna-err:SE4402
1292
+
1293
+ Failed to run GOVERNOR
1294
+ sedna-err:SE4403
1295
+
1296
+ Failed to set up ctrl handler for GOVERNOR
1297
+ sedna-err:SE4404
1298
+
1299
+ Error occured during closing LISTENER
1300
+ sedna-err:SE4405
1301
+
1302
+ Session can't be closed
1303
+ sedna-err:SE4406
1304
+
1305
+ There is no any sign of the SEDNA server running in the system
1306
+ sedna-err:SE4408
1307
+
1308
+ Failed to run GOVERNOR: SEDNA server is running
1309
+ sedna-err:SE4409
1310
+
1311
+ Failed to open session: database is not started
1312
+ sedna-err:SE4410
1313
+
1314
+ Can't rename last soft fault directory
1315
+
1316
+ sedna-err:SE4411
1317
+
1318
+ Can't set sedna data variable
1319
+ sedna-err:SE4412
1320
+
1321
+ The number of database config files exceeds the maximum freshold
1322
+ sedna-err:SE4413
1323
+
1324
+ Can't create session process
1325
+
1326
+
1327
+ ############################################################################
1328
+ # Recovery Utility errors
1329
+ ############################################################################
1330
+ sedna-err:SE4500
1331
+
1332
+ bad logical record given from logical log
1333
+ sedna-err:SE4501
1334
+
1335
+ Can't recover database by logical log
1336
+ sedna-err:SE4510
1337
+
1338
+ Hot-backup utility error
1339
+
1340
+ ############################################################################
1341
+ # Transaction general errors
1342
+ ############################################################################
1343
+ sedna-err:SE4600
1344
+
1345
+ One of the command line argumets is too long
1346
+ sedna-err:SE4601
1347
+
1348
+ Command line arguments are not correct
1349
+ sedna-err:SE4602
1350
+
1351
+ Can't get current working directory absolute path
1352
+ sedna-err:SE4603
1353
+
1354
+ Can't get absolute path to the file
1355
+ sedna-err:SE4604
1356
+
1357
+ Can't change working directory
1358
+ sedna-err:SE4605
1359
+
1360
+ Initialization of persistent heap failed
1361
+ sedna-err:SE4606
1362
+
1363
+ Release of persistent heap failed
1364
+ sedna-err:SE4607
1365
+
1366
+ Can't run transaction: system is busy
1367
+ sedna-err:SE4608
1368
+
1369
+ Transaction is rolled back because server is stopping
1370
+ sedna-err:SE4609
1371
+
1372
+ The database does not exist
1373
+ sedna-err:SE4610
1374
+
1375
+ There is no transaction to commit.
1376
+ sedna-err:SE4611
1377
+
1378
+ There is no transaction to roll back.
1379
+ sedna-err:SE4612
1380
+
1381
+ Commit current transaction before beginning a new one.
1382
+ sedna-err:SE4613
1383
+
1384
+ Since version 0.6 se_trn is an internal process and cannot be run manually. Use se_term instead.
1385
+ sedna-err:SE4614
1386
+
1387
+ There is no next item of the user's query.
1388
+ sedna-err:SE4615
1389
+
1390
+ Begin transaction before executing a query.
1391
+ sedna-err:SE4616
1392
+
1393
+ Can't load a document because the session is loading another document. Finish current loading before beginning a new one.
1394
+ sedna-err:SE4617
1395
+
1396
+ Failed to set session option.
1397
+ sedna-err:SE4618
1398
+
1399
+ Failed to reset session options.
1400
+
1401
+
1402
+ ######################################################################
1403
+ # Lock manager errors
1404
+ ######################################################################
1405
+ sedna-err:SE4700
1406
+
1407
+ Unknown resource identifier type
1408
+ sedna-err:SE4701
1409
+
1410
+ Internal Lock Manager error
1411
+ sedna-err:SE4702
1412
+
1413
+ The resorce's name length is too long
1414
+ sedna-err:SE4703
1415
+
1416
+ The transaction is a victim of deadlock resolution procedure
1417
+ sedna-err:SE4704
1418
+
1419
+ Unknown reply from Lock Manager
1420
+ sedna-err:SE4705
1421
+
1422
+ Deadlock is detected
1423
+ sedna-err:SE4706
1424
+
1425
+ Cannot provide X-locks in RO-mode
1426
+
1427
+
1428
+ ######################################################################
1429
+ ### Static (semantic) analyzer errors (SA)
1430
+ ######################################################################
1431
+ sedna-err:SE5000
1432
+
1433
+ Unexpected number of arguments.
1434
+ sedna-err:SE5001
1435
+
1436
+ Prolog not found for query.
1437
+ sedna-err:SE5002
1438
+
1439
+ Body not found for query.
1440
+ sedna-err:SE5003
1441
+
1442
+ Empty or unexpected query.
1443
+ sedna-err:SE5004
1444
+
1445
+ Unexpected query.
1446
+ sedna-err:SE5005
1447
+
1448
+ Unexpected expression.
1449
+ sedna-err:SE5006
1450
+
1451
+ Operation not yet supported.
1452
+ sedna-err:SE5008
1453
+
1454
+ Unexpected namespace prefix.
1455
+ sedna-err:SE5012
1456
+
1457
+ Declaration not supported.
1458
+ sedna-err:SE5014
1459
+
1460
+ Not a constant.
1461
+ sedna-err:SE5015
1462
+
1463
+ Not a proper QName.
1464
+ sedna-err:SE5016
1465
+
1466
+ Unknown item type.
1467
+ sedna-err:SE5017
1468
+
1469
+ Not a name specifier.
1470
+ sedna-err:SE5018
1471
+
1472
+ Not a type declaration.
1473
+ sedna-err:SE5019
1474
+
1475
+ Improper list of formal parameters.
1476
+ sedna-err:SE5020
1477
+
1478
+ Not a valid variable name.
1479
+ sedna-err:SE5021
1480
+
1481
+ Not a return type declaration.
1482
+ sedna-err:SE5022
1483
+
1484
+ Not a function body.
1485
+ sedna-err:SE5023
1486
+
1487
+ Malformed variable name.
1488
+ sedna-err:SE5026
1489
+
1490
+ Type definition for constant not found.
1491
+ sedna-err:SE5027
1492
+
1493
+ Constant value is not compatible with the type definition.
1494
+ sedna-err:SE5028
1495
+
1496
+ Constant is not a proper QName.
1497
+ sedna-err:SE5030
1498
+
1499
+ Not a type specifier.
1500
+ sedna-err:SE5032
1501
+
1502
+ Not an anonimous function definition.
1503
+ sedna-err:SE5033
1504
+
1505
+ Too many arguments in a function.
1506
+ sedna-err:SE5034
1507
+
1508
+ DDO contains atomic values in its argument.
1509
+ sedna-err:SE5035
1510
+
1511
+ Not an ivar declaration.
1512
+ sedna-err:SE5036
1513
+
1514
+ No function name provided in the function call.
1515
+ sedna-err:SE5040
1516
+
1517
+ Empty or unexpected update operation.
1518
+ sedna-err:SE5041
1519
+
1520
+ Unknown update operation.
1521
+ sedna-err:SE5042
1522
+
1523
+ Insert is applied to a non-node type.
1524
+ sedna-err:SE5043
1525
+
1526
+ Rename is applied to a non-node type.
1527
+ sedna-err:SE5044
1528
+
1529
+ Delete is applied to a non-node type.
1530
+ sedna-err:SE5045
1531
+
1532
+ Empty or unexpected manage operation.
1533
+ sedna-err:SE5046
1534
+
1535
+ Unknown manage operation.
1536
+ sedna-err:SE5047
1537
+
1538
+ Empty or unexpected metadata operation.
1539
+ sedna-err:SE5048
1540
+
1541
+ Unknown metadata operation.
1542
+ sedna-err:SE5049
1543
+
1544
+ Not a structural XPath supplied.
1545
+ sedna-err:SE5050
1546
+
1547
+ Unknown mode supplied for index-scan function call.
1548
+ sedna-err:SE5051
1549
+
1550
+ Unknown range specified for index-scan-between function call.
1551
+ sedna-err:SE5054
1552
+
1553
+ Unexpected value of the boundary-space declaration.
1554
+ sedna-err:SE5055
1555
+
1556
+ Unknown option in XQuery prolog.
1557
+ sedna-err:SE5056
1558
+
1559
+ Malformed cases supplied in a typeswitch operation.
1560
+ sedna-err:SE5057
1561
+
1562
+ No default case supplied for a typeswitch operation.
1563
+ sedna-err:SE5058
1564
+
1565
+ Unexpected case for a typeswitch operation.
1566
+ sedna-err:SE5059
1567
+
1568
+ Malformed default case for a typeswitch operation.
1569
+ sedna-err:SE5060
1570
+
1571
+ Unexpected default empty order declaration in XQuery prolog.
1572
+ sedna-err:SE5061
1573
+
1574
+ Malformed ascending/descending order declaration in order by clause.
1575
+ sedna-err:SE5062
1576
+
1577
+ Malformed empty greatest / empty least declaration in order by clause.
1578
+ sedna-err:SE5063
1579
+
1580
+ Malformed stable order by.
1581
+ sedna-err:SE5064
1582
+
1583
+ Order modifier expected.
1584
+ sedna-err:SE5065
1585
+
1586
+ Order specification expected.
1587
+ sedna-err:SE5066
1588
+
1589
+ Orderspecs expected.
1590
+ sedna-err:SE5067
1591
+
1592
+ Malformed name-value pair in Sedna-specific option declaration.
1593
+ sedna-err:SE5068
1594
+
1595
+ Unknown key(s) given in se:output option.
1596
+ sedna-err:SE5069
1597
+
1598
+ Empty option value for Sedna-specific option.
1599
+ sedna-err:SE5070
1600
+
1601
+ Duplicate key entry in se:output option.
1602
+ sedna-err:SE5071
1603
+
1604
+ Unknown value bound with a "method" key in se:output option.
1605
+ sedna-err:SE5072
1606
+
1607
+ Unknown value bound with an "indent" key in se:output option.
1608
+ sedna-err:SE5073
1609
+
1610
+ Unknown time specifier in CREATE TRIGGER statement. Expected: BEFORE or AFTER.
1611
+ sedna-err:SE5074
1612
+
1613
+ Unknown event specifier in CREATE TRIGGER statement.
1614
+ sedna-err:SE5075
1615
+
1616
+ Malformed list of statements in the DO-clause of CREATE TRIGGER statement.
1617
+ sedna-err:SE5076
1618
+
1619
+ Unknown granularity specified in CREATE TRIGGER statement.
1620
+ sedna-err:SE5077
1621
+
1622
+ Variable declaration expected.
1623
+ sedna-err:SE5078
1624
+
1625
+ LibraryModule expected, given unexpected.
1626
+ sedna-err:SE5079
1627
+
1628
+ Unexpected ModuleDecl supplied.
1629
+ sedna-err:SE5080
1630
+
1631
+ Unknown full-text index type supplied for a CREATE FULL-TEXT INDEX statement.
1632
+ sedna-err:SE5081
1633
+
1634
+ Ill-formed "customized-value" full-text index type provided.
1635
+ sedna-err:SE5100
1636
+
1637
+ Error in Scheme part.
1638
+ sedna-err:SE5101
1639
+
1640
+ Scheme part panic.
1641
+
1642
+ ######################################################################
1643
+ ### Java API errors
1644
+ ######################################################################
1645
+
1646
+ sedna-err:SE5500
1647
+
1648
+ An attempt to create a statement on a closed connection.
1649
+ sedna-err:SE5501
1650
+
1651
+ Result item cannot be returned as a String because it is too large.
1652
+ sedna-err:SE5502
1653
+
1654
+ Unsupported encoding.
1655
+
1656
+ ########### Java API errors ####################
1657
+
1658
+ sedna-err:SE6000
1659
+
1660
+ User statement is too large (maximum size allowed is 2 Mb).
1661
+
1662
+ ######################################################################
1663
+ ### fn:error error (user defined)
1664
+ ######################################################################
1665
+
1666
+ sedna-err:SE9000
1667
+
1668
+ User defined error
1669
+
1670
+
1671
+ ######################################################################
1672
+ ### New errors. Put any new error at the end of this list!
1673
+ ######################################################################
1674
+
1675
+ sedna-err:SE2039
1676
+
1677
+ Invalid result of the second insert argument: sequence contains non-persistent or document nodes
1678
+
1679
+ sedna-err:SE3207
1680
+
1681
+ XPath expression after the 'ON' keyword is invalid.
1682
+ sedna-err:SE3208
1683
+
1684
+ The trigger variable is used but undefined in this context.
1685
+ sedna-err:SE3209
1686
+
1687
+ It is prohibited to use trigger variables in statement-level triggers.
1688
+ sedna-err:SE4619
1689
+
1690
+ Unknown session option.
1691
+ sedna-err:SE3210
1692
+
1693
+ Trigger action in a node-level trigger must end with an XQuery query.
1694
+ sedna-err:SE3211
1695
+
1696
+ No trigger with this name.
1697
+ sedna-err:SE2040
1698
+
1699
+ Too many childs by schema.
1700
+ sedna-err:SE4620
1701
+
1702
+ Transaction has been rolled back due to timeout or hard stop request.
1703
+
1704
+ sedna-err:SE4801
1705
+
1706
+ Cannot initialize wu.
1707
+ sedna-err:SE4802
1708
+
1709
+ Cannot release wu.
1710
+ sedna-err:SE2041
1711
+
1712
+ Result is cut, because its size exceeds max allowed size (set by client).
1713
+ sedna-err:SE4901
1714
+
1715
+ Internal LFS error.
1716
+ sedna-err:SE4902
1717
+
1718
+ Internal LL error.
1719
+ sedna-err:SE4903
1720
+
1721
+ Hot-backup error.
1722
+ sedna-err:SE4621
1723
+
1724
+ Property is unknown.
1725
+ sedna-err:SE4622
1726
+
1727
+ This statement is not supported because Sedna' database security level is "authentication". (To support this statement create database with -db-security option "authorization".)
1728
+ sedna-err:SE5200
1729
+
1730
+ Internal Runtime Configuration utility error
1731
+ sedna-err:SE4623
1732
+
1733
+ Cannot set keep alive session timeout
1734
+ sedna-err:SE4624
1735
+
1736
+ Session was closed since keep alive timeout has been expired
1737
+ sedna-err:SE3081
1738
+
1739
+ Can't open file with long query to execute
1740
+ err:XQDY0096
1741
+
1742
+ 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.
1743
+