Commit b0e5c91
clach04
IngresDBI Trac ticket #502 select on LONG NVARCHAR (aka NCLOB) return empty strings
LONG NVARCHAR length indicator orInd was not being set
resulting in empty strings being returned. Noticed same
inconsistency with other LONG types (LONG BYTE and LONG VARCHAR),
lack of correct orInd was not returning incorrect results for
these types but is inconsistent hence the change.
Whilst delving into this code added needed debug statement so
that unsupported types are seen in trace logs.
git-svn-id: http://code.ingres.com/ingres/drivers/python/main@2286 45b5d43f-8932-4c86-835a-3654e58428391 parent 24dd332 commit b0e5c91
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
155 | 162 | | |
156 | 163 | | |
157 | 164 | | |
| |||
662 | 669 | | |
663 | 670 | | |
664 | 671 | | |
665 | | - | |
| 672 | + | |
666 | 673 | | |
667 | 674 | | |
668 | 675 | | |
| |||
699 | 706 | | |
700 | 707 | | |
701 | 708 | | |
| 709 | + | |
702 | 710 | | |
703 | 711 | | |
704 | 712 | | |
| |||
757 | 765 | | |
758 | 766 | | |
759 | 767 | | |
| 768 | + | |
760 | 769 | | |
761 | 770 | | |
762 | 771 | | |
| |||
779 | 788 | | |
780 | 789 | | |
781 | 790 | | |
| 791 | + | |
782 | 792 | | |
783 | 793 | | |
784 | 794 | | |
| |||
806 | 816 | | |
807 | 817 | | |
808 | 818 | | |
| 819 | + | |
809 | 820 | | |
810 | 821 | | |
811 | 822 | | |
| |||
841 | 852 | | |
842 | 853 | | |
843 | 854 | | |
| 855 | + | |
844 | 856 | | |
845 | 857 | | |
846 | 858 | | |
| |||
862 | 874 | | |
863 | 875 | | |
864 | 876 | | |
| 877 | + | |
865 | 878 | | |
866 | 879 | | |
867 | 880 | | |
| |||
920 | 933 | | |
921 | 934 | | |
922 | 935 | | |
| 936 | + | |
923 | 937 | | |
924 | 938 | | |
925 | 939 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
258 | 260 | | |
259 | 261 | | |
260 | 262 | | |
| |||
4517 | 4519 | | |
4518 | 4520 | | |
4519 | 4521 | | |
| 4522 | + | |
4520 | 4523 | | |
4521 | 4524 | | |
4522 | 4525 | | |
| |||
0 commit comments