-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror_codes.h
More file actions
6691 lines (5019 loc) · 143 KB
/
error_codes.h
File metadata and controls
6691 lines (5019 loc) · 143 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by go generate; DO NOT EDIT.
// Creates C constants for every possible 'YDB_*' constant not defined in the installed version of YottaDB.
// This prevents unnecessary errors when compiling the matching .go constants.
// Constants not defined in the current version of YottaDB are assigned instead to an error message string
// so that the Go compiler creates an error only if the constant is invoked as if it existed (as an integer).
#include "libyottadb.h"
#define _YDB_ERROR_UNDEFINED "error code not defined by your YottaDB installation's libyottadb.h"
// Enum constants
// (#ifndef does not work on enums, so define them conditionally using the installed YDB release)
#if !defined(YDB_RELEASE) && !defined(YDB_DEL_TREE) /* i.e. '#if YDB_RELEASE<120', except YDB_RELEASE was not defined until r1.24 so use this test instead */
#define YDB_DEL_NODE _YDB_ERROR_UNDEFINED
#define YDB_DEL_TREE _YDB_ERROR_UNDEFINED
#define YDB_SEVERITY_ERROR _YDB_ERROR_UNDEFINED /* Error - Something is definitely incorrect */
#define YDB_SEVERITY_FATAL _YDB_ERROR_UNDEFINED /* Fatal - Something happened that is so bad, YottaDB cannot continue */
#define YDB_SEVERITY_INFORMATIONAL _YDB_ERROR_UNDEFINED /* Informational - won't see these returned as they continue running */
#define YDB_SEVERITY_SUCCESS _YDB_ERROR_UNDEFINED /* Success */
#define YDB_SEVERITY_WARNING _YDB_ERROR_UNDEFINED /* Warning - Something is potentially incorrect */
#elif YDB_RELEASE < 128
#define YDB_DATA_ERROR _YDB_ERROR_UNDEFINED
#define YDB_DATA_NOVALUE_DESC _YDB_ERROR_UNDEFINED /* Node has no value but has descendants */
#define YDB_DATA_UNDEF _YDB_ERROR_UNDEFINED /* Node is undefined */
#define YDB_DATA_VALUE_DESC _YDB_ERROR_UNDEFINED /* Node has both value and descendants */
#define YDB_DATA_VALUE_NODESC _YDB_ERROR_UNDEFINED /* Node has a value but no descendants */
#elif YDB_RELEASE < 130
#define YDB_MAIN_LANG_C _YDB_ERROR_UNDEFINED /* Main routine written in C (or M) or is otherwise C-compatible */
#define YDB_MAIN_LANG_GO _YDB_ERROR_UNDEFINED /* Main routine is written in Go so handle signals differently */
#endif
#ifndef YDB_DEFER_HANDLER
#define YDB_DEFER_HANDLER _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_INT_MAX
#define YDB_INT_MAX _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_LOCK_TIMEOUT
#define YDB_LOCK_TIMEOUT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_MAX_ERRORMSG
#define YDB_MAX_ERRORMSG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_MAX_IDENT
#define YDB_MAX_IDENT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_MAX_M_LINE_LEN
#define YDB_MAX_M_LINE_LEN _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_MAX_NAMES
#define YDB_MAX_NAMES _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_MAX_PARMS
#define YDB_MAX_PARMS _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_MAX_STR
#define YDB_MAX_STR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_MAX_SUBS
#define YDB_MAX_SUBS _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_MAX_TIME_NSEC
#define YDB_MAX_TIME_NSEC _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_MAX_YDBERR
#define YDB_MAX_YDBERR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_MIN_YDBERR
#define YDB_MIN_YDBERR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_NODE_END
#define YDB_NODE_END _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_NOTOK
#define YDB_NOTOK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_NOTTP
#define YDB_NOTTP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_OK
#define YDB_OK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_RELEASE
#define YDB_RELEASE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_TP_RESTART
#define YDB_TP_RESTART _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_TP_ROLLBACK
#define YDB_TP_ROLLBACK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ABNCOMPTINC
#define YDB_ERR_ABNCOMPTINC _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ACK
#define YDB_ERR_ACK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ACOMPTBINC
#define YDB_ERR_ACOMPTBINC _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ACTCOLLMISMTCH
#define YDB_ERR_ACTCOLLMISMTCH _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ACTIVATEFAIL
#define YDB_ERR_ACTIVATEFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ACTLSTTOOLONG
#define YDB_ERR_ACTLSTTOOLONG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ACTOFFSET
#define YDB_ERR_ACTOFFSET _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ACTRANGE
#define YDB_ERR_ACTRANGE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ADDRTOOLONG
#define YDB_ERR_ADDRTOOLONG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_AIMGBLKFAIL
#define YDB_ERR_AIMGBLKFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_AIOBUFSTUCK
#define YDB_ERR_AIOBUFSTUCK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_AIOCANCELTIMEOUT
#define YDB_ERR_AIOCANCELTIMEOUT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_AIOQUEUESTUCK
#define YDB_ERR_AIOQUEUESTUCK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ALIASEXPECTED
#define YDB_ERR_ALIASEXPECTED _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_AMBISYIPARAM
#define YDB_ERR_AMBISYIPARAM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ANCOMPTINC
#define YDB_ERR_ANCOMPTINC _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_APDCONNFAIL
#define YDB_ERR_APDCONNFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_APDINITFAIL
#define YDB_ERR_APDINITFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_APDLOGFAIL
#define YDB_ERR_APDLOGFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ARCTLMAXHIGH
#define YDB_ERR_ARCTLMAXHIGH _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ARCTLMAXLOW
#define YDB_ERR_ARCTLMAXLOW _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ARGSLONGLINE
#define YDB_ERR_ARGSLONGLINE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ARGTRUNC
#define YDB_ERR_ARGTRUNC _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ARROWNTDSP
#define YDB_ERR_ARROWNTDSP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ASC2EBCDICCONV
#define YDB_ERR_ASC2EBCDICCONV _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ASSERT
#define YDB_ERR_ASSERT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ASYNCIONOMM
#define YDB_ERR_ASYNCIONOMM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_ASYNCIONOV4
#define YDB_ERR_ASYNCIONOV4 _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_AUDCONNFAIL
#define YDB_ERR_AUDCONNFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_AUDINITFAIL
#define YDB_ERR_AUDINITFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_AUDLOGFAIL
#define YDB_ERR_AUDLOGFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_AUTODBCREFAIL
#define YDB_ERR_AUTODBCREFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BACKUPCTRL
#define YDB_ERR_BACKUPCTRL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BACKUPDBFILE
#define YDB_ERR_BACKUPDBFILE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BACKUPFAIL
#define YDB_ERR_BACKUPFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BACKUPKILLIP
#define YDB_ERR_BACKUPKILLIP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BACKUPREPL
#define YDB_ERR_BACKUPREPL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BACKUPSEQNO
#define YDB_ERR_BACKUPSEQNO _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BACKUPSUCCESS
#define YDB_ERR_BACKUPSUCCESS _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BACKUPTN
#define YDB_ERR_BACKUPTN _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADACCMTHD
#define YDB_ERR_BADACCMTHD _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADCASECODE
#define YDB_ERR_BADCASECODE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADCHAR
#define YDB_ERR_BADCHAR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADCHSET
#define YDB_ERR_BADCHSET _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADCONNECTPARAM
#define YDB_ERR_BADCONNECTPARAM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADDBVER
#define YDB_ERR_BADDBVER _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADGBLSECVER
#define YDB_ERR_BADGBLSECVER _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADGTMNETMSG
#define YDB_ERR_BADGTMNETMSG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADJPIPARAM
#define YDB_ERR_BADJPIPARAM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADLKIPARAM
#define YDB_ERR_BADLKIPARAM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADLOCKNEST
#define YDB_ERR_BADLOCKNEST _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADPARAMCOUNT
#define YDB_ERR_BADPARAMCOUNT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADQUAL
#define YDB_ERR_BADQUAL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADREGION
#define YDB_ERR_BADREGION _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADSRVRNETMSG
#define YDB_ERR_BADSRVRNETMSG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADSYIPARAM
#define YDB_ERR_BADSYIPARAM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADTAG
#define YDB_ERR_BADTAG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADTRNPARAM
#define YDB_ERR_BADTRNPARAM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADZPEEKARG
#define YDB_ERR_BADZPEEKARG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADZPEEKFMT
#define YDB_ERR_BADZPEEKFMT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADZPEEKRANGE
#define YDB_ERR_BADZPEEKRANGE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BADZYENZYDENEST
#define YDB_ERR_BADZYENZYDENEST _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BCKUPBUFLUSH
#define YDB_ERR_BCKUPBUFLUSH _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BEGINST
#define YDB_ERR_BEGINST _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BEGSEQGTENDSEQ
#define YDB_ERR_BEGSEQGTENDSEQ _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BFRQUALREQ
#define YDB_ERR_BFRQUALREQ _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BINHDR
#define YDB_ERR_BINHDR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BITMAPSBAD
#define YDB_ERR_BITMAPSBAD _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BKUPFILEPERM
#define YDB_ERR_BKUPFILEPERM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BKUPPROGRESS
#define YDB_ERR_BKUPPROGRESS _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BKUPRETRY
#define YDB_ERR_BKUPRETRY _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BKUPRUNNING
#define YDB_ERR_BKUPRUNNING _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BKUPTMPFILOPEN
#define YDB_ERR_BKUPTMPFILOPEN _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BKUPTMPFILWRITE
#define YDB_ERR_BKUPTMPFILWRITE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BLKCNT
#define YDB_ERR_BLKCNT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BLKCNTEDITFAIL
#define YDB_ERR_BLKCNTEDITFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BLKINVALID
#define YDB_ERR_BLKINVALID _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BLKSIZ512
#define YDB_ERR_BLKSIZ512 _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BLKTOODEEP
#define YDB_ERR_BLKTOODEEP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BLKWRITERR
#define YDB_ERR_BLKWRITERR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BOMMISMATCH
#define YDB_ERR_BOMMISMATCH _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BOOLEXPRTOODEEP
#define YDB_ERR_BOOLEXPRTOODEEP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BOOLSIDEFFECT
#define YDB_ERR_BOOLSIDEFFECT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BOVTMGTEOVTM
#define YDB_ERR_BOVTMGTEOVTM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BOVTNGTEOVTN
#define YDB_ERR_BOVTNGTEOVTN _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BREAK
#define YDB_ERR_BREAK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BREAKDEA
#define YDB_ERR_BREAKDEA _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BREAKZBA
#define YDB_ERR_BREAKZBA _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BREAKZST
#define YDB_ERR_BREAKZST _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BSIZTOOLARGE
#define YDB_ERR_BSIZTOOLARGE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BTFAIL
#define YDB_ERR_BTFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BUFFLUFAILED
#define YDB_ERR_BUFFLUFAILED _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BUFFSIZETOOSMALL
#define YDB_ERR_BUFFSIZETOOSMALL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BUFOWNERSTUCK
#define YDB_ERR_BUFOWNERSTUCK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BUFRDTIMEOUT
#define YDB_ERR_BUFRDTIMEOUT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_BUFSPCDELAY
#define YDB_ERR_BUFSPCDELAY _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CALLERID
#define YDB_ERR_CALLERID _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CALLINAFTERXIT
#define YDB_ERR_CALLINAFTERXIT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CALLINTCOMMIT
#define YDB_ERR_CALLINTCOMMIT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CALLINTROLLBACK
#define YDB_ERR_CALLINTROLLBACK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CANTBITMAP
#define YDB_ERR_CANTBITMAP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCEBADFN
#define YDB_ERR_CCEBADFN _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCEBGONLY
#define YDB_ERR_CCEBGONLY _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCECCPPID
#define YDB_ERR_CCECCPPID _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCECLSTPRCS
#define YDB_ERR_CCECLSTPRCS _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCEDBCL
#define YDB_ERR_CCEDBCL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCEDBDUMP
#define YDB_ERR_CCEDBDUMP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCEDBNODUMP
#define YDB_ERR_CCEDBNODUMP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCEDBNTCL
#define YDB_ERR_CCEDBNTCL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCEDMPQUALREQ
#define YDB_ERR_CCEDMPQUALREQ _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCEDUMPNOW
#define YDB_ERR_CCEDUMPNOW _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCEDUMPOFF
#define YDB_ERR_CCEDUMPOFF _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCEDUMPON
#define YDB_ERR_CCEDUMPON _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCENOCCP
#define YDB_ERR_CCENOCCP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCENOGROUP
#define YDB_ERR_CCENOGROUP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCENOSYSLCK
#define YDB_ERR_CCENOSYSLCK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCENOWORLD
#define YDB_ERR_CCENOWORLD _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCERDERR
#define YDB_ERR_CCERDERR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCERDTIMOUT
#define YDB_ERR_CCERDTIMOUT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCEWRTERR
#define YDB_ERR_CCEWRTERR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCPBADMSG
#define YDB_ERR_CCPBADMSG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCPGRP
#define YDB_ERR_CCPGRP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCPINTQUE
#define YDB_ERR_CCPINTQUE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCPJNLOPNERR
#define YDB_ERR_CCPJNLOPNERR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCPMBX
#define YDB_ERR_CCPMBX _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCPNAME
#define YDB_ERR_CCPNAME _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCPNOTFND
#define YDB_ERR_CCPNOTFND _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCPSIGCONT
#define YDB_ERR_CCPSIGCONT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CCPSIGDMP
#define YDB_ERR_CCPSIGDMP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CEBIGSKIP
#define YDB_ERR_CEBIGSKIP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CENOINDIR
#define YDB_ERR_CENOINDIR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CETOOLONG
#define YDB_ERR_CETOOLONG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CETOOMANY
#define YDB_ERR_CETOOMANY _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CEUSRERROR
#define YDB_ERR_CEUSRERROR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CHANGELOGINTERVAL
#define YDB_ERR_CHANGELOGINTERVAL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CHNGTPRSLVTM
#define YDB_ERR_CHNGTPRSLVTM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CHSETALREADY
#define YDB_ERR_CHSETALREADY _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CIDIRECTIVE
#define YDB_ERR_CIDIRECTIVE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CIENTNAME
#define YDB_ERR_CIENTNAME _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CIMAXLEVELS
#define YDB_ERR_CIMAXLEVELS _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CIMAXPARAM
#define YDB_ERR_CIMAXPARAM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CINOENTRY
#define YDB_ERR_CINOENTRY _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CIPARTYPE
#define YDB_ERR_CIPARTYPE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CIRCALLNAME
#define YDB_ERR_CIRCALLNAME _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CIRPARMNAME
#define YDB_ERR_CIRPARMNAME _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CIRTNTYP
#define YDB_ERR_CIRTNTYP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CITABENV
#define YDB_ERR_CITABENV _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CITABOPN
#define YDB_ERR_CITABOPN _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CITPNESTED
#define YDB_ERR_CITPNESTED _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CIUNTYPE
#define YDB_ERR_CIUNTYPE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CLIERR
#define YDB_ERR_CLIERR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CLISTRTOOLONG
#define YDB_ERR_CLISTRTOOLONG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CLOSEFAIL
#define YDB_ERR_CLOSEFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CLSTCONFLICT
#define YDB_ERR_CLSTCONFLICT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CMD
#define YDB_ERR_CMD _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CMDERR
#define YDB_ERR_CMDERR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CNOTONSYS
#define YDB_ERR_CNOTONSYS _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COLLARGLONG
#define YDB_ERR_COLLARGLONG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COLLATIONUNDEF
#define YDB_ERR_COLLATIONUNDEF _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COLLDATAEXISTS
#define YDB_ERR_COLLDATAEXISTS _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COLLFNMISSING
#define YDB_ERR_COLLFNMISSING _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COLLTYPVERSION
#define YDB_ERR_COLLTYPVERSION _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COLON
#define YDB_ERR_COLON _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COLTRANSSTR2LONG
#define YDB_ERR_COLTRANSSTR2LONG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COMMA
#define YDB_ERR_COMMA _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COMMAORRPAREXP
#define YDB_ERR_COMMAORRPAREXP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COMMENT
#define YDB_ERR_COMMENT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COMMFILTERERR
#define YDB_ERR_COMMFILTERERR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COMMITWAITPID
#define YDB_ERR_COMMITWAITPID _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COMMITWAITSTUCK
#define YDB_ERR_COMMITWAITSTUCK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COMPILEQUALS
#define YDB_ERR_COMPILEQUALS _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CONNSOCKREQ
#define YDB_ERR_CONNSOCKREQ _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_COREINPROGRESS
#define YDB_ERR_COREINPROGRESS _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CORRUPT
#define YDB_ERR_CORRUPT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CORRUPTNODE
#define YDB_ERR_CORRUPTNODE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CPBEYALLOC
#define YDB_ERR_CPBEYALLOC _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CREDNOTPASSED
#define YDB_ERR_CREDNOTPASSED _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRITRESET
#define YDB_ERR_CRITRESET _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRITSEMFAIL
#define YDB_ERR_CRITSEMFAIL _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTBADCONFIG
#define YDB_ERR_CRYPTBADCONFIG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTBADWRTPOS
#define YDB_ERR_CRYPTBADWRTPOS _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTDLNOOPEN
#define YDB_ERR_CRYPTDLNOOPEN _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTDLNOOPEN2
#define YDB_ERR_CRYPTDLNOOPEN2 _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTHASHGENFAILED
#define YDB_ERR_CRYPTHASHGENFAILED _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTINIT
#define YDB_ERR_CRYPTINIT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTINIT2
#define YDB_ERR_CRYPTINIT2 _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTJNLMISMATCH
#define YDB_ERR_CRYPTJNLMISMATCH _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTKEYFETCHFAILED
#define YDB_ERR_CRYPTKEYFETCHFAILED _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTKEYFETCHFAILEDNF
#define YDB_ERR_CRYPTKEYFETCHFAILEDNF _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTKEYRELEASEFAILED
#define YDB_ERR_CRYPTKEYRELEASEFAILED _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTKEYTOOBIG
#define YDB_ERR_CRYPTKEYTOOBIG _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTNOAPPEND
#define YDB_ERR_CRYPTNOAPPEND _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTNOKEY
#define YDB_ERR_CRYPTNOKEY _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTNOKEYSPEC
#define YDB_ERR_CRYPTNOKEYSPEC _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTNOMM
#define YDB_ERR_CRYPTNOMM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTNOOVERRIDE
#define YDB_ERR_CRYPTNOOVERRIDE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTNOSEEK
#define YDB_ERR_CRYPTNOSEEK _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTNOTRUNC
#define YDB_ERR_CRYPTNOTRUNC _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTNOV4
#define YDB_ERR_CRYPTNOV4 _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CRYPTOPFAILED
#define YDB_ERR_CRYPTOPFAILED _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CTLMNEMAXLEN
#define YDB_ERR_CTLMNEMAXLEN _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CTLMNEXPECTED
#define YDB_ERR_CTLMNEXPECTED _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CTRAP
#define YDB_ERR_CTRAP _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CTRLC
#define YDB_ERR_CTRLC _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CTRLY
#define YDB_ERR_CTRLY _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CURRSOCKOFR
#define YDB_ERR_CURRSOCKOFR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CUSTERRNOTFND
#define YDB_ERR_CUSTERRNOTFND _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CUSTERRSYNTAX
#define YDB_ERR_CUSTERRSYNTAX _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_CUSTOMFILOPERR
#define YDB_ERR_CUSTOMFILOPERR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBADDRALIGN
#define YDB_ERR_DBADDRALIGN _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBADDRANGE
#define YDB_ERR_DBADDRANGE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBADDRANGE8
#define YDB_ERR_DBADDRANGE8 _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBBADFREEBLKCTR
#define YDB_ERR_DBBADFREEBLKCTR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBBADKYNM
#define YDB_ERR_DBBADKYNM _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBBADNSUB
#define YDB_ERR_DBBADNSUB _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBBADPNTR
#define YDB_ERR_DBBADPNTR _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBBADUPGRDSTATE
#define YDB_ERR_DBBADUPGRDSTATE _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBBDBALLOC
#define YDB_ERR_DBBDBALLOC _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBBFSTAT
#define YDB_ERR_DBBFSTAT _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBBLEVMN
#define YDB_ERR_DBBLEVMN _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBBLEVMX
#define YDB_ERR_DBBLEVMX _YDB_ERROR_UNDEFINED
#endif
#ifndef YDB_ERR_DBBLKSIZEALIGN